X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/0959b6d4289bd106fddb7fe7d84a346159895fdd..39a8cd101b922f08058746122efff58c14b57605:/unit-tests/test-cases/loader_path/Makefile?ds=sidebyside diff --git a/unit-tests/test-cases/loader_path/Makefile b/unit-tests/test-cases/loader_path/Makefile index 6b34207..7e646d1 100644 --- a/unit-tests/test-cases/loader_path/Makefile +++ b/unit-tests/test-cases/loader_path/Makefile @@ -23,7 +23,9 @@ TESTROOT = ../.. include ${TESTROOT}/include/common.makefile -run: all +all-check: all check + +check: ./main all: main @@ -44,7 +46,7 @@ libfoo2.dylib : foo.c main : main.c libfoo2.dylib hide/libbar.dylib hide/libfoo3.dylib - ${CC} -I${TESTROOT}/include main.c -o main hide/libbar.dylib libfoo2.dylib + ${CC} -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main hide/libbar.dylib libfoo2.dylib install_name_tool -change libfoo2.dylib '@loader_path/libfoo2.dylib' main install_name_tool -change libbar.dylib '@loader_path/hide/libbar.dylib' main