Pass -fPIC when compiling shared libraries.
This commit is contained in:
@@ -23,6 +23,7 @@ libwayland.so : \
|
||||
connection.o \
|
||||
wayland-util.o
|
||||
|
||||
$(libs) : CFLAGS += -fPIC
|
||||
$(libs) :
|
||||
gcc -shared $^ $(LDLIBS) -o $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user