]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/weak-symbol-flat/Makefile
dyld-95.3.tar.gz
[apple/dyld.git] / unit-tests / test-cases / weak-symbol-flat / Makefile
index f49610dad3a8972c80fa43e48219844cb5f5029b..ba1d7aaf805b4da5efe8b0902855ff538894f0f3 100644 (file)
@@ -36,7 +36,7 @@ libfoo_missing.dylib : foo.c
        ${CC} -dynamiclib -o libfoo_missing.dylib foo.c -install_name libfoo.dylib
 
 main: main.c libfoo.dylib
        ${CC} -dynamiclib -o libfoo_missing.dylib foo.c -install_name libfoo.dylib
 
 main: main.c libfoo.dylib
-       export MACOSX_DEPLOYMENT_TARGET=10.2 && ${CC} -I${TESTROOT}/include -L. -lfoo -o main  main.c -flat_namespace
+       ${CC} -I${TESTROOT}/include -mmacosx-version-min=10.2 -L. -lfoo -o main  main.c -flat_namespace
 
 clean:
        ${RM} ${RMFLAGS} *~ libfoo.dylib libfoo_missing.dylib main
 
 clean:
        ${RM} ${RMFLAGS} *~ libfoo.dylib libfoo_missing.dylib main