From: Kristian Høgsberg Date: Fri, 12 Dec 2008 15:26:04 +0000 (-0500) Subject: Pass -fPIC when compiling shared libraries. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e4c76b5300c5eee252c5ad0251411ce05a983dd;p=platform%2Fupstream%2Fweston.git Pass -fPIC when compiling shared libraries. --- 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 $@