From 9e4c76b5300c5eee252c5ad0251411ce05a983dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 12 Dec 2008 10:26:04 -0500 Subject: [PATCH] Pass -fPIC when compiling shared libraries. --- Makefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.in b/Makefile.in index b0d60538..2309f3a9 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 $@