]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/always-libSystem/Makefile
dyld-195.5.tar.gz
[apple/dyld.git] / unit-tests / test-cases / always-libSystem / Makefile
index 80ee13793aa2abb3d3b4dc0600897853b6a2f6a8..287a47b5815c519280d0386fb0d2f9b19c5366e1 100644 (file)
@@ -27,13 +27,16 @@ all-check: all check
 
 check:
        ./main
+ifneq "$(OS_NAME)" "iPhoneOS"
+       # "avoid" does not work on iPhoneOS because the original dylibs don't exist
        export DYLD_SHARED_REGION=avoid && ./main
+endif
 
 all: main
 
 
 main: main.c 
-       ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c -mmacosx-version-min=10.5
+       ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c