X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/bac542e65c0030c0d819c7ff1dcfc25892a61844..HEAD:/unit-tests/test-cases/rpath-basic/Makefile diff --git a/unit-tests/test-cases/rpath-basic/Makefile b/unit-tests/test-cases/rpath-basic/Makefile index 536d651..c559f75 100644 --- a/unit-tests/test-cases/rpath-basic/Makefile +++ b/unit-tests/test-cases/rpath-basic/Makefile @@ -23,13 +23,15 @@ TESTROOT = ../.. include ${TESTROOT}/include/common.makefile +PWD = $(shell pwd) # # a main executable linked with -rpath used to locate a dylib it links against # +all-check: all check -run: all +check: ./main all: main @@ -43,7 +45,7 @@ hide/hole/libfoo.dylib : foo.c hide/hole/libbar.dylib ${CC} foo.c hide/hole/libbar.dylib -dynamiclib -o hide/hole/libfoo.dylib -install_name @rpath/libfoo.dylib main : main.c hide/hole/libfoo.dylib - ${CC} -I${TESTROOT}/include main.c -o main hide/hole/libfoo.dylib -Wl,-rpath -Wl,`pwd`/hide/hole + ${CC} -I${TESTROOT}/include main.c -o main hide/hole/libfoo.dylib -Wl,-rpath -Wl,${PWD}/hide/hole clean: ${RM} -rf *~ main hide