X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/577cc7d16e9038f578beeee9ada9fd8f82f0b3d6..bac542e65c0030c0d819c7ff1dcfc25892a61844:/unit-tests/test-cases/dlsym-RTLD_NEXT-missing/Makefile diff --git a/unit-tests/test-cases/dlsym-RTLD_NEXT-missing/Makefile b/unit-tests/test-cases/dlsym-RTLD_NEXT-missing/Makefile index 491d9f4..980ce61 100644 --- a/unit-tests/test-cases/dlsym-RTLD_NEXT-missing/Makefile +++ b/unit-tests/test-cases/dlsym-RTLD_NEXT-missing/Makefile @@ -23,10 +23,21 @@ TESTROOT = ../.. include ${TESTROOT}/include/common.makefile +PROG = ./main + +ifeq "ppc" "$(ARCH)" + MACHINE = $(shell arch) + ifeq "i386" "$(MACHINE)" + PROG = /usr/bin/true + endif +endif + + + run: all - ${TESTROOT}/bin/exit-zero-pass.pl "dlsym-RTLD_NEXT-missing with circular libraries" "dlsym-RTLD_NEXT-missing with circular libraries" ./main + ${TESTROOT}/bin/exit-zero-pass.pl "dlsym-RTLD_NEXT-missing with circular libraries" "dlsym-RTLD_NEXT-missing with circular libraries" ${PROG} -all: main +all: main main : main.c foo1.dylib ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c foo1.dylib