Pass -fPIC when compiling shared libraries.

dev
Kristian Høgsberg 16 years ago
parent aad70ba986
commit 9e4c76b530
  1. 1
      Makefile.in

@ -23,6 +23,7 @@ libwayland.so : \
connection.o \
wayland-util.o
$(libs) : CFLAGS += -fPIC
$(libs) :
gcc -shared $^ $(LDLIBS) -o $@

Loading…
Cancel
Save