summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:42 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:42 +0000
commit5dfdbd0066d8272b6658f9b08b31d4155e6a5e9c (patch)
tree32c398a8548345d131f80e6b29cf40615db3c230 /tools
parent614351940e6cc7aa79f2380369e367c6d39a0889 (diff)
downloadmtk-20170518-5dfdbd0066d8272b6658f9b08b31d4155e6a5e9c.zip
mtk-20170518-5dfdbd0066d8272b6658f9b08b31d4155e6a5e9c.tar.gz
mtk-20170518-5dfdbd0066d8272b6658f9b08b31d4155e6a5e9c.tar.bz2
mtools: link statically
SVN-Revision: 33099
Diffstat (limited to 'tools')
-rw-r--r--tools/mtools/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mtools/Makefile b/tools/mtools/Makefile
index 994ca8d..36f6adc 100644
--- a/tools/mtools/Makefile
+++ b/tools/mtools/Makefile
@@ -16,6 +16,8 @@ PKG_CAT:=zcat
include $(INCLUDE_DIR)/host-build.mk
+HOST_LDFLAGS += -static
+
define Host/Compile
$(MAKE) -C $(HOST_BUILD_DIR) mcopy
endef