X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/bac542e65c0030c0d819c7ff1dcfc25892a61844..HEAD:/unit-tests/test-cases/loader_path/Makefile diff --git a/unit-tests/test-cases/loader_path/Makefile b/unit-tests/test-cases/loader_path/Makefile index 694cd9d..06eeb2b 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 @@ -45,8 +47,8 @@ libfoo2.dylib : foo.c main : main.c libfoo2.dylib hide/libbar.dylib hide/libfoo3.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 + ${INSTALL_NAME_TOOL} -change libfoo2.dylib '@loader_path/libfoo2.dylib' main + ${INSTALL_NAME_TOOL} -change libbar.dylib '@loader_path/hide/libbar.dylib' main clean: ${RM} ${RMFLAGS} *~ main libfoo.dylib hide libfoo2.dylib