From: Jo-Philipp Wich Date: Fri, 10 Aug 2012 19:27:04 +0000 (+0000) Subject: cmake: link statically X-Git-Tag: reboot~13148 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ecc3d837177e4ea08a0b40f4ff0ee14e810199de;p=oweals%2Fopenwrt.git cmake: link statically SVN-Revision: 33114 --- diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile index 54c63757c7..6f6c28a9b0 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))