Is MACOSX_DEVELOPMENT_TARGET a thing?
Joshua Root
jmr at macports.org
Wed Jan 7 15:53:29 PST 2015
It doesn't appear anywhere on opensource.apple.com except in a comment
in old versions of Libm, which means it was never recognised by any
version of Apple's compiler or linker and never did anything to the
headers. Almost certainly a mistake.
- Josh
On 2015-1-8 09:51 , Lawrence Velázquez wrote:
> Note that I said "DEVELOPMENT" and not "DEPLOYMENT".
>
> I came across it while reworking perl5.16's patches. I can't tell
> whether it's intentional or a mistake, and my extensive research (one
> Google search and one DuckDuckGo search) only turned up other references
> to Perl builds.
>
> Has anyone heard of this before?
>
> vq
>
>
> Index: hints/darwin.sh
> ===================================================================
> --- hints/darwin.sh.orig
> +++ hints/darwin.sh
> @@ -141,7 +141,6 @@ esac
>
> # Shared library extension is .dylib.
> # Bundle extension is .bundle.
> -ld='cc';
> so='dylib';
> dlext='bundle';
> usedl='define';
> @@ -182,7 +181,7 @@ case "$osvers" in
> *)
> lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
> case "$ld" in
> - *MACOSX_DEVELOPMENT_TARGET*) ;;
> + *MACOSX_DEPLOYMENT_TARGET*) ;;
> *) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;;
> esac
> ;;
More information about the macports-dev
mailing list