summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-11 23:48:40 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-11 23:48:40 +0000
commit29c195a91f135b6aa0d84767624d15d1f65dc376 (patch)
treef17570e55e94234f0c771d58a4a3be3639a7da1e
parent90d75ccb3574abc6a915b915d390320cf5cb994d (diff)
dont use LDFLAGS when just compiling
-rw-r--r--test/dlopen/Makefile4
1 files changed, 2 insertions, 2 deletions
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