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