diff options
| -rwxr-xr-x | core/makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/makefile b/core/makefile index 7c5617305..a827680d3 100755 --- a/core/makefile +++ b/core/makefile @@ -282,7 +282,7 @@ endif # config static ifeq ($(PLAT),linux) -LDFLAG := $(LDFLAG) $(shell if [ -f "/etc/redhat-release" ]; then echo ""; else echo "-static"; fi ) +LDFLAG := $(LDFLAG) $(shell if [ -f "/etc/lsb-release" ] && [ `cat /etc/lsb-release | grep Ubuntu -o -m 1` == "Ubuntu" ]; then echo "-static"; else echo ""; fi ) endif # select package directory |
