diff options
| author | ruki <[email protected]> | 2016-12-27 09:57:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-12-27 09:57:59 +0800 |
| commit | dc3c4073a5c19907342ae31215f358176982d96c (patch) | |
| tree | 536a9495990d2c841d35c8715315c4d7702ba84b | |
| parent | 904e8c1e0a5ae2f0d6df767f41cf0a3a13a087e4 (diff) | |
fix link error for lubuntu
| -rwxr-xr-x | core/makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/makefile b/core/makefile index 0aad8533b..7c5617305 100755 --- a/core/makefile +++ b/core/makefile @@ -280,6 +280,11 @@ else luajit_LIBNAMES := luajit endif +# config static +ifeq ($(PLAT),linux) +LDFLAG := $(LDFLAG) $(shell if [ -f "/etc/redhat-release" ]; then echo ""; else echo "-static"; fi ) +endif + # select package directory ifneq ($(PACKAGE),) PKG_DIR := $(PACKAGE) |
