From 29c195a91f135b6aa0d84767624d15d1f65dc376 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 Jan 2006 23:48:40 +0000 Subject: dont use LDFLAGS when just compiling --- test/dlopen/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/dlopen') diff --git a/test/dlopen/Makefile b/test/dlopen/Makefile index 48d5e29cc..fe010e0c3 100644 --- a/test/dlopen/Makefile +++ b/test/dlopen/Makefile @@ -33,10 +33,10 @@ test3: test3.c $(CC) $(CFLAGS) $(LDFLAGS) -o test3 test3.c -ldl ./libtest1.so ./libtest2.so libtest1.o: libtest1.c - $(CC) $(CFLAGS) $(LDFLAGS) -fPIC -c libtest1.c -o libtest1.o + $(CC) $(CFLAGS) -fPIC -c libtest1.c -o libtest1.o libtest2.o: libtest2.c - $(CC) $(CFLAGS) $(LDFLAGS) -fPIC -c libtest2.c -o libtest2.o + $(CC) $(CFLAGS) -fPIC -c libtest2.c -o libtest2.o libtest1.so: libtest1.o $(CC) $(CFLAGS) -fPIC -shared -o libtest1.so -Wl,-soname,libtest1.so libtest1.o ./libtest2.so -- cgit v1.2.3