From eb04bab911534be15cddec7a045d44008a15d1c5 Mon Sep 17 00:00:00 2001 From: jow Date: Fri, 10 Aug 2012 19:27:04 +0000 Subject: [PATCH] [tools] cmake: link statically git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33114 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/cmake/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile index 54c63757c..6f6c28a9b 100644 --- a/tools/cmake/Makefile +++ b/tools/cmake/Makefile @@ -15,4 +15,7 @@ PKG_MD5SUM:=e1b237aeaed880f65dec9c20602452f6 include $(INCLUDE_DIR)/host-build.mk +HOST_CONFIGURE_CMD = \ + LDFLAGS="$(HOST_LDFLAGS) -static" ./configure + $(eval $(call HostBuild))