X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/a645023da60d22e86be13f7b4d97adeff8bc6665..afe874b1634377ecb27057ee76deb04915bb34d7:/unit-tests/test-cases/demangle/Makefile diff --git a/unit-tests/test-cases/demangle/Makefile b/unit-tests/test-cases/demangle/Makefile index 6ed52b7..018bd4c 100644 --- a/unit-tests/test-cases/demangle/Makefile +++ b/unit-tests/test-cases/demangle/Makefile @@ -35,9 +35,9 @@ run: all all: ${CXX} ${CXXFLAGS} main.cxx -c - ${FAIL_IF_SUCCESS} ${LD} -arch ${ARCH} -dylib main.o -lSystem -o main 2>main1.fail + ${FAIL_IF_SUCCESS} ${LD} -arch ${ARCH} -dylib main.o ${LD_SYSROOT} ${LD_NEW_LINKEDIT} -lSystem -o main 2>main1.fail grep __ZN3Foo4doitEv main1.fail | ${FAIL_IF_EMPTY} - ${FAIL_IF_SUCCESS} ${LD} -arch ${ARCH} -dylib main.o -lSystem -demangle -o main 2>main2.fail + ${FAIL_IF_SUCCESS} ${LD} -arch ${ARCH} -dylib main.o ${LD_SYSROOT} ${LD_NEW_LINKEDIT} -lSystem -demangle -o main 2>main2.fail grep 'Foo::doit()' main2.fail | ${PASS_IFF_STDIN}