X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/55e3d2f687f4ed9653982dbda92c6a055b0a8350..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 index e3d0d6a..4f1b14d 100644 --- 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: