Dynamically link X11 in arm build. (On debian stretch xcb is not built with -fPIC...
authorDaniel G <giri@nwrk.biz>
Wed, 30 Jan 2019 15:06:59 +0000 (16:06 +0100)
committerDaniel G <giri@nwrk.biz>
Wed, 30 Jan 2019 15:06:59 +0000 (16:06 +0100)
_template/src/Makefile

index fd988ef..a70a64a 100644 (file)
@@ -47,7 +47,7 @@ LIBDIR_LINUXARM = -L$(WORKDIR)/../lib/linux_arm
 CFLAGS_LINUXARM = $(CFLAGS) -fPIC
 RESINC_LINUXARM =
 LDFLAGS_LINUXARM = $(LDFLAGS)
-LIB_LINUXARM = $(LIB) -lm -lX11 -lxcb -lXau -lXdmcp -Wl,-Bdynamic -lpthread -lrt -ldl
+LIB_LINUXARM = $(LIB) -lm -Wl,-Bdynamic -lX11 -lxcb -lXau -lXdmcp -lpthread -lrt -ldl
 
 ###################################
 #MinGW | EDIT 4/14