X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/d425e3882ca60fabae080ddb890789ef2e73a66b..e456bf1059cf7e6b8b71545d1b2f2092b55a9684:/unit-tests/test-cases/lto-dylib-export_list/Makefile diff --git a/unit-tests/test-cases/lto-dylib-export_list/Makefile b/unit-tests/test-cases/lto-dylib-export_list/Makefile index 0fa97ce..c9b62e0 100644 --- a/unit-tests/test-cases/lto-dylib-export_list/Makefile +++ b/unit-tests/test-cases/lto-dylib-export_list/Makefile @@ -35,7 +35,7 @@ run: all all: ${CXX} ${CXXFLAGS} -flto foo.cxx -c -o foo.o ${CXX} ${CXXFLAGS} -flto bar.cxx -c -o bar.o - ${CC} ${CCFLAGS} foo.o bar.o -dynamiclib -o libfoo.dylib -exported_symbols_list foo.exp + ${CXX} ${CXXFLAGS} foo.o bar.o -dynamiclib -o libfoo.dylib -exported_symbols_list foo.exp nm -m libfoo.dylib | grep "weak external" | ${FAIL_IF_STDIN} ${PASS_IFF_GOOD_MACHO} libfoo.dylib