2 include ${TESTROOT}/include/common.makefile
7 # Test that DYLD_FALLBACK_LIBRARY_PATH does not apply to dlopen() of a full path
8 # <rdar://problem/5951327> DYLD_FALLBACK_LIBRARY_PATH man page misleading
15 export DYLD_FALLBACK_LIBRARY_PATH="${PWD}/hide" && ./main
17 all: main hide/libfoo.dylib
19 main : main.c hide/libfoo.dylib
20 ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c
23 hide/libfoo.dylib : foo.c
25 ${CC} ${CCFLAGS} -dynamiclib foo.c -o "${PWD}/hide/libfoo.dylib"
30 ${RM} -rf *~ main hide