This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document MACOSX_DEPLOYMENT_TARGET.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 21 Nov 2014 11:50:36 +0000 (06:50 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 21 Nov 2014 11:51:06 +0000 (06:51 -0500)
hints/darwin.sh

index 3e92add..fec05fd 100644 (file)
@@ -201,6 +201,8 @@ case "$osvers" in
    lddlflags="${ldflags} -bundle -undefined suppress"
    ;;
 *) 
+   # MACOSX_DEPLOYMENT_TARGET selects the minimum OS level we want to support
+   # https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html
    lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
    case "$ld" in
        *MACOSX_DEVELOPMENT_TARGET*) ;;