From 9e4c76b5300c5eee252c5ad0251411ce05a983dd Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Fri, 12 Dec 2008 10:26:04 -0500 Subject: Pass -fPIC when compiling shared libraries. --- Makefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.in b/Makefile.in index b0d6053..2309f3a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -23,6 +23,7 @@ libwayland.so : \ connection.o \ wayland-util.o +$(libs) : CFLAGS += -fPIC $(libs) : gcc -shared $^ $(LDLIBS) -o $@ -- cgit