]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/upward-dylib-init-order/Makefile
dyld-851.27.tar.gz
[apple/dyld.git] / unit-tests / test-cases / upward-dylib-init-order / Makefile
index a0a54a1b16240208e221fe5068ad73bc0efb90bf..bc48b5c932287708d5a5747cc8764f622613b82a 100644 (file)
@@ -40,14 +40,15 @@ check_1:
 
 all_1: 
        ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib common.c -o libcommon.dylib  
-       ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib u.c libcommon.dylib -o libu.dylib  
+       ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib u2.c libcommon.dylib -o libu2.dylib
+       ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib u.c libcommon.dylib -o libu.dylib -Wl,-upward_library,libu2.dylib
        ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib c.c libcommon.dylib -o libc.dylib -Wl,-upward_library,libu.dylib
        ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib b.c libcommon.dylib -o libb.dylib libc.dylib
-       ${CC} ${CCFLAGS} -I${TESTROOT}/include main.c  libb.dylib libu.dylib libcommon.dylib -o main
+       ${CC} ${CCFLAGS} -I${TESTROOT}/include main.c  libb.dylib libcommon.dylib -o main
 
 
 clean:
-       ${RM} ${RMFLAGS} *~ main libu.dylib libb.dylib libc.dylib libcommon.dylib
+       ${RM} ${RMFLAGS} *~ main libu.dylib libu2.dylib libb.dylib libc.dylib libcommon.dylib