X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/0959b6d4289bd106fddb7fe7d84a346159895fdd..19894a1236eae932b4028640f24ab843f691d4e4:/unit-tests/test-cases/weak-symbol/Makefile diff --git a/unit-tests/test-cases/weak-symbol/Makefile b/unit-tests/test-cases/weak-symbol/Makefile index e24ee52..f2d1cec 100644 --- a/unit-tests/test-cases/weak-symbol/Makefile +++ b/unit-tests/test-cases/weak-symbol/Makefile @@ -23,13 +23,16 @@ TESTROOT = ../.. include ${TESTROOT}/include/common.makefile -run: all + +all-check: all check + +check: export DYLD_IMAGE_SUFFIX=_missing && ${TESTROOT}/bin/exit-zero-pass.pl "weak-symbol" "weak-symbol" ./main all: foo.c main.c ${CC} foo.c -dynamiclib -o libfoo.dylib -DSYMBOL_PRESENT ${CC} foo.c -dynamiclib -o libfoo_missing.dylib -install_name libfoo.dylib - export MACOSX_DEPLOYMENT_TARGET=10.2 && ${CC} -I${TESTROOT}/include -L. -lfoo main.c -o main + ${CC} -I${TESTROOT}/include -L. -lfoo main.c -o main clean: ${RM} ${RMFLAGS} *~ libfoo.dylib libfoo_missing.dylib main