summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-10 19:27:04 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-10 19:27:04 +0000
commiteb04bab911534be15cddec7a045d44008a15d1c5 (patch)
tree25d75e2f927e6f7bf2f8cf262a6795664a89c982
parentddccd147265c446595df1a57233d4b29abf9dd15 (diff)
[tools] cmake: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33114 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--tools/cmake/Makefile3
1 files changed, 3 insertions, 0 deletions
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))