aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:52 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:52 +0000
commita6e74297429ebb2e28bfa22f0b8d7bb2ddc7f505 (patch)
treeba185a44619cf4a39b4f0ec9d344ed74a56b3f62 /tools
parentaed68de08bb9ec448b8e9284365f6164bb41d84f (diff)
downloadupstream-a6e74297429ebb2e28bfa22f0b8d7bb2ddc7f505.tar.gz
upstream-a6e74297429ebb2e28bfa22f0b8d7bb2ddc7f505.tar.bz2
upstream-a6e74297429ebb2e28bfa22f0b8d7bb2ddc7f505.zip
[tools] squashfs4: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33106 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r--tools/squashfs4/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/squashfs4/Makefile b/tools/squashfs4/Makefile
index fff550234c..4b917c59cf 100644
--- a/tools/squashfs4/Makefile
+++ b/tools/squashfs4/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2009 OpenWrt.org
+# Copyright (C) 2009-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -26,6 +26,7 @@ define Host/Compile
XATTR_SUPPORT= \
LZMA_LIB="$(STAGING_DIR_HOST)/lib/liblzma.a" \
EXTRA_CFLAGS="-I$(STAGING_DIR_HOST)/include" \
+ EXTRA_LDFLAGS="-static" \
mksquashfs unsquashfs
endef