summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 $@