[tools] cmake: link statically
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 10 Aug 2012 19:27:04 +0000 (19:27 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 10 Aug 2012 19:27:04 +0000 (19:27 +0000)
SVN-Revision: 33114

tools/cmake/Makefile

index 54c63757c70b3a8396d815312c45ad8854ba2696..6f6c28a9b01a50676453a42c8487751ff6b6a508 100644 (file)
@@ -15,4 +15,7 @@ PKG_MD5SUM:=e1b237aeaed880f65dec9c20602452f6
 
 include $(INCLUDE_DIR)/host-build.mk
 
+HOST_CONFIGURE_CMD = \
+       LDFLAGS="$(HOST_LDFLAGS) -static" ./configure
+
 $(eval $(call HostBuild))