summaryrefslogtreecommitdiff
path: root/test/ldso
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2001-11-26 11:06:58 +0000
committerDavid Schleef <ds@schleef.org>2001-11-26 11:06:58 +0000
commitf2ca1a04b984f6b52781ab0f881e79ecd021442b (patch)
treea3c9c238ac493b1c88de89107a8dd18dae704025 /test/ldso
parent26f348f4d734a395844d0f4d981693f6afee3af6 (diff)
libhowdy.so needs to be compiled with -fPIC
Diffstat (limited to 'test/ldso')
-rw-r--r--test/ldso/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ldso/Makefile b/test/ldso/Makefile
index ac33e8e27..06350ab91 100644
--- a/test/ldso/Makefile
+++ b/test/ldso/Makefile
@@ -7,7 +7,7 @@ dltest.o: dltest.c
$(CC) $(CFLAGS) -c dltest.c -o dltest.o
howdy.o: howdy.c
- $(CC) $(CFLAGS) -c howdy.c -o howdy.o
+ $(CC) $(CFLAGS) -fPIC -c howdy.c -o howdy.o
libhowdy.so: howdy.o
$(CC) $(CFLAGS) -shared -o libhowdy.so -Wl,-soname,libhowdy.so howdy.o