X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/9d2e0767a8f401be0067937f63a08b1c4f79297d..a645023da60d22e86be13f7b4d97adeff8bc6665:/unit-tests/test-cases/lazy-dylib/Makefile diff --git a/unit-tests/test-cases/lazy-dylib/Makefile b/unit-tests/test-cases/lazy-dylib/Makefile old mode 100755 new mode 100644 index e3d0d6a..4f1b14d --- a/unit-tests/test-cases/lazy-dylib/Makefile +++ b/unit-tests/test-cases/lazy-dylib/Makefile @@ -1,5 +1,5 @@ ## -# Copyright (c) 2008 Apple Inc. All rights reserved. +# Copyright (c) 2008-2010 Apple Inc. All rights reserved. # # @APPLE_LICENSE_HEADER_START@ # @@ -35,10 +35,10 @@ run: all all: ${CC} ${CCFLAGS} foo.c -dynamiclib -o libfoo.dylib ${CC} ${CCFLAGS} main.c -Wl,-lazy_library,libfoo.dylib -o main + ${CC} ${CCFLAGS} main.c -lazy-lfoo -L. -o main ${FAIL_IF_SUCCESS} ${CC} ${CCFLAGS} bad.c -Wl,-lazy_library,libfoo.dylib -o bad 2> fail.log ${FAIL_IF_SUCCESS} ${CC} ${CCFLAGS} bad2.c -Wl,-lazy_library,libfoo.dylib -o bad2 2> fail.log - ${PASS_IFF_GOOD_MACHO} main clean: