]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/DYLD_VERSIONED_LIBRARY_PATH-basic/Makefile
dyld-210.2.3.tar.gz
[apple/dyld.git] / unit-tests / test-cases / DYLD_VERSIONED_LIBRARY_PATH-basic / Makefile
index 2be1439c6a46c8a120534bb694682c121dae936c..788e74af44df5e610f57dc2a0360d32d94fb00e7 100644 (file)
@@ -25,9 +25,20 @@ include ${TESTROOT}/include/common.makefile
 
 PWD = $(shell pwd)
 
+ifeq "$(OS_NAME)" "iPhoneOS"
+       CHECK = check-ios
+else
+       CHECK = check-macosx
+endif
+
 all-check: all check
 
-check:
+check: $(CHECK)
+
+check-ios:
+       ./main 10
+
+check-macosx:
        ./main 10
        export DYLD_VERSIONED_LIBRARY_PATH="${PWD}/alt11" && ./main 11
        export DYLD_VERSIONED_LIBRARY_PATH="${PWD}/alt9" && ./main 10