X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/55e3d2f687f4ed9653982dbda92c6a055b0a8350..a645023da60d22e86be13f7b4d97adeff8bc6665:/unit-tests/test-cases/weak-def-flag/Makefile diff --git a/unit-tests/test-cases/weak-def-flag/Makefile b/unit-tests/test-cases/weak-def-flag/Makefile index 71d5db6..a8d30a9 100644 --- a/unit-tests/test-cases/weak-def-flag/Makefile +++ b/unit-tests/test-cases/weak-def-flag/Makefile @@ -1,5 +1,5 @@ ## -# Copyright (c) 2008 Apple Inc. All rights reserved. +# Copyright (c) 2008-2009 Apple Inc. All rights reserved. # # @APPLE_LICENSE_HEADER_START@ # @@ -40,7 +40,9 @@ all: otool -hv main | grep WEAK_DEFINES | ${FAIL_IF_STDIN} ${CC} ${CCFLAGS} main.c -o main -Wl,-exported_symbol,_my_weak otool -hv main | grep WEAK_DEFINES | ${FAIL_IF_EMPTY} + ${CC} ${CCFLAGS} main-strip-weak.c -o main-strip-weak + otool -hv main-strip-weak | grep WEAK_DEFINES | ${FAIL_IF_STDIN} ${PASS_IFF_GOOD_MACHO} main clean: - rm main + rm -f main main-strip-weak \ No newline at end of file