3 include ${TESTROOT}/include/common.makefile
7 # <rdar://problem/5869973> DYLD_ROOT_PATH should apply to LC_RPATH rpaths
13 export DYLD_ROOT_PATH=`pwd` && ${PASS_IFF} ./main
18 hide/libfoo.dylib : foo.c
20 ${CC} foo.c -dynamiclib -o hide/libfoo.dylib -install_name @rpath/libfoo.dylib
23 main : main.c hide/libfoo.dylib
24 ${CC} -I${TESTROOT}/include main.c -o main hide/libfoo.dylib -Wl,-rpath -Wl,/hide
28 ${RM} ${RMFLAGS} *~ main hide