Completely statically link Linux Build.
authorDaniel G <giri@nwrk.biz>
Sun, 27 Jan 2019 17:47:36 +0000 (18:47 +0100)
committerDaniel G <giri@nwrk.biz>
Sun, 27 Jan 2019 17:47:36 +0000 (18:47 +0100)
_template/src/Makefile

index cae0e0e..81ad316 100644 (file)
@@ -30,8 +30,8 @@ INC_GCC = $(INC)
 LIBDIR_GCC = -L$(WORKDIR)/../lib/linux32
 CFLAGS_GCC = -m32 $(CFLAGS)
 RESINC_GCC =
-LDFLAGS_GCC = $(LDFLAGS)
-LIB_GCC = -m32 $(LIB) -lm -lpthread -lX11 -lxcb -lXau -lXdmcp -lbsd -lrt -Wl,-Bdynamic -ldl
+LDFLAGS_GCC = $(LDFLAGS) -static
+LIB_GCC = -m32 $(LIB) -lm -lX11 -lxcb -lXau -lXdmcp -lpthread  -lbsd -lrt -ldl
 
 ###################################
 #MinGW | EDIT 3/11