projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cmake: link statically
[openwrt/openwrt.git]
/
tools
/
cmake
/
Makefile
diff --git
a/tools/cmake/Makefile
b/tools/cmake/Makefile
index 54c63757c70b3a8396d815312c45ad8854ba2696..6f6c28a9b01a50676453a42c8487751ff6b6a508 100644
(file)
--- 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))