]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/bind_at_load/Makefile
ld64-127.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / bind_at_load / Makefile
index 007feb5a973ddabd1fadfe4592026e95ee1817b0..3cc0bf2106ed950134bdf337b1ac15fbf07115b2 100644 (file)
@@ -33,8 +33,8 @@ all:
        ${CC} ${CCFLAGS} foo.c -dynamiclib -o libfoo.dylib
        ${CC} ${CCFLAGS} bar.c -dynamiclib -o libbar.dylib
        ${CC} ${CCFLAGS} main.c libfoo.dylib libbar.dylib -o main -Wl,-bind_at_load
        ${CC} ${CCFLAGS} foo.c -dynamiclib -o libfoo.dylib
        ${CC} ${CCFLAGS} bar.c -dynamiclib -o libbar.dylib
        ${CC} ${CCFLAGS} main.c libfoo.dylib libbar.dylib -o main -Wl,-bind_at_load
-       dyldinfo -lazy_bind main | grep "no compressed lazy binding info" | ${FAIL_IF_EMPTY}
-       dyldinfo -bind main | grep _bar | ${FAIL_IF_EMPTY}
+       ${DYLDINFO} -lazy_bind main | grep "no compressed lazy binding info" | ${FAIL_IF_EMPTY}
+       ${DYLDINFO} -bind main | grep _bar | ${FAIL_IF_EMPTY}
        ${PASS_IFF_GOOD_MACHO} main
        
 clean:
        ${PASS_IFF_GOOD_MACHO} main
        
 clean: