Guys, MACOSX_DEPLOYMENT_TARGET only makes sense on Leopard & prior. On Snow Leopard & onwards using clang, it's taken care of automatically. If this variable is not set, the cctools defaults to MACOSX_DEPLOYMENT_TARGET to OS X 10.1 for PowerPC systems & 10.4 on Intel systems. Ideally MACOSX_DEPLOYMENT_TARGET should default to 10.4 but 10.3 is actually the earliest version of OS X Perl 5 will run on correctly. Is there any reason why the patch below is not a viable solution? --- hints/darwin.sh.orig 2015-05-13 20:19:29.000000000 +0000 +++ hints/darwin.sh @@ -200,7 +200,7 @@ case "$osvers" in ldflags="${ldflags} -flat_namespace" lddlflags="${ldflags} -bundle -undefined suppress" ;; -*) +[7-9].*) # 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" @@ -209,6 +209,9 @@ case "$osvers" in *) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;; esac ;; +*) + lddlflags="${ldflags} -bundle -undefined dynamic_lookup" + ;; esac ldlibpthname='DYLD_LIBRARY_PATH';Thread Previous | Thread Next