summaryrefslogtreecommitdiff
path: root/test/ldso
diff options
context:
space:
mode:
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