aboutsummaryrefslogtreecommitdiffstats
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
commita361365858393596eaa6452dd721da03a2e6ee07 (patch)
treea93e3b79e5673c4ebff7df8873ce918a10490fea
parent14c2ec4e201756e8e795e825b2c500bacd287c45 (diff)
downloadupstream-a361365858393596eaa6452dd721da03a2e6ee07.tar.gz
upstream-a361365858393596eaa6452dd721da03a2e6ee07.tar.bz2
upstream-a361365858393596eaa6452dd721da03a2e6ee07.zip
squashfs4: link statically
SVN-Revision: 33106
-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