mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-27 06:59:51 -05:00
Pass -fPIC when compiling shared libraries.
This commit is contained in:
parent
aad70ba986
commit
9e4c76b530
1 changed files with 1 additions and 0 deletions
|
|
@ -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 $@
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue