OSDN Git Service

libhowdy.so needs to be compiled with -fPIC
authorDavid Schleef <ds@schleef.org>
Mon, 26 Nov 2001 11:06:58 +0000 (11:06 -0000)
committerDavid Schleef <ds@schleef.org>
Mon, 26 Nov 2001 11:06:58 +0000 (11:06 -0000)
test/ldso/Makefile

index ac33e8e..06350ab 100644 (file)
@@ -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