From f2ca1a04b984f6b52781ab0f881e79ecd021442b Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 26 Nov 2001 11:06:58 +0000 Subject: libhowdy.so needs to be compiled with -fPIC --- test/ldso/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3