瀏覽代碼

squashfs4: link statically

SVN-Revision: 33106
Jo-Philipp Wich 13 年之前
父節點
當前提交
a361365858
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      tools/squashfs4/Makefile

+ 2 - 1
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.
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 # See /LICENSE for more information.
@@ -26,6 +26,7 @@ define Host/Compile
 		XATTR_SUPPORT= \
 		XATTR_SUPPORT= \
 		LZMA_LIB="$(STAGING_DIR_HOST)/lib/liblzma.a" \
 		LZMA_LIB="$(STAGING_DIR_HOST)/lib/liblzma.a" \
 		EXTRA_CFLAGS="-I$(STAGING_DIR_HOST)/include" \
 		EXTRA_CFLAGS="-I$(STAGING_DIR_HOST)/include" \
+		EXTRA_LDFLAGS="-static" \
 		mksquashfs unsquashfs
 		mksquashfs unsquashfs
 endef
 endef