aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mtools/Makefile
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
commit6e9f5c745e38169d61d1dd22bf61fd175726ade3 (patch)
treecf5dd1d5265de098e80edf1b4087eb772372c97f /tools/mtools/Makefile
parentc4c4747b466ab2e11e620e9937957e8b287df2a1 (diff)
downloadupstream-6e9f5c745e38169d61d1dd22bf61fd175726ade3.tar.gz
upstream-6e9f5c745e38169d61d1dd22bf61fd175726ade3.tar.bz2
upstream-6e9f5c745e38169d61d1dd22bf61fd175726ade3.zip
[tools] mtools: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33099 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/mtools/Makefile')
-rw-r--r--tools/mtools/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mtools/Makefile b/tools/mtools/Makefile
index 994ca8d0d5..36f6adc86b 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