summaryrefslogtreecommitdiff
path: root/test/ldso/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-16 08:02:17 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-16 08:02:17 +0000
commit2a272e8265d3109faedcb4ee6b8b93f49c52b228 (patch)
treeff25e80d384bef2ea9330124107f94fe0c791dd5 /test/ldso/Makefile
parent9f8c3d23d00790b1b41587697f94890058ebf8f5 (diff)
Demonstrate that dlopen() RTLD_NOW is currently broken.
-Erik
Diffstat (limited to 'test/ldso/Makefile')
-rw-r--r--test/ldso/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/ldso/Makefile b/test/ldso/Makefile
index 57b4a1fa6..3d2a47ad9 100644
--- a/test/ldso/Makefile
+++ b/test/ldso/Makefile
@@ -20,7 +20,11 @@ TESTDIR=../
include $(TESTDIR)/Rules.mak
CFLAGS+=--uclibc-ctors
-all: dltest libhowdy.so run
+all: dltest2 dltest libhowdy.so run
+
+dltest2: dltest.c
+ $(CC) $(CFLAGS) dltest2.c -o dltest2 -ldl
+ ./dltest2
dltest.o: dltest.c
$(CC) $(CFLAGS) -c dltest.c -o dltest.o
@@ -39,4 +43,4 @@ run: dltest libhowdy.so
./dltest
clean:
- rm -f *.o *.so dltest core libhowdy.so
+ rm -f *.o *.so dltest2 dltest core libhowdy.so