summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@hinata.localdomain>2008-12-12 10:26:04 -0500
committerKristian Høgsberg <krh@hinata.localdomain>2008-12-12 10:26:04 -0500
commit9e4c76b5300c5eee252c5ad0251411ce05a983dd (patch)
tree05e0650628a7b8fea53cf5624ad70584ad929756 /Makefile.in
parentaad70ba986629fac106b567b78b39f6a2caa1279 (diff)
Pass -fPIC when compiling shared libraries.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in1
1 files changed, 1 insertions, 0 deletions
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 $@