summaryrefslogtreecommitdiff
path: root/tools/squashfs4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/squashfs4/Makefile')
-rw-r--r--tools/squashfs4/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/squashfs4/Makefile b/tools/squashfs4/Makefile
index fff5502..4b917c5 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