]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/archive-basic/Makefile
ld64-97.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / archive-basic / Makefile
index 39c0ef97da378cfaab3a36a135dcdb6f5938dc61..65c5f564805f1c6bae16fc679bf0ecaa0aa4143d 100644 (file)
@@ -39,7 +39,7 @@ all:
        ${CC} ${CCFLAGS} main.c -lfoobar-${ARCH} -L. -o main-${ARCH} 
        ${FAIL_IF_BAD_MACHO} main-${ARCH}
        nm main-${ARCH} | grep "_bar" | ${PASS_IFF_EMPTY}
-       ${CC} ${CCFLAGS} main.c -all_load -lfoobar-${ARCH} -L. -o main-${ARCH} 
+       ${CC} ${CCFLAGS} main.c -Wl,-force_load,libfoobar-${ARCH}.a -o main-${ARCH} 
        ${FAIL_IF_BAD_MACHO} main-${ARCH}
 
 clean: