Browse Source

lzma: link statically

SVN-Revision: 33094
Jo-Philipp Wich 13 years ago
parent
commit
ea6c66131f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/lzma/Makefile

+ 2 - 2
tools/lzma/Makefile

@@ -21,8 +21,8 @@ UTIL_DIR=$(HOST_BUILD_DIR)/C/LzmaUtil
 ALONE_DIR=$(HOST_BUILD_DIR)/CPP/7zip/Compress/LZMA_Alone
 ALONE_DIR=$(HOST_BUILD_DIR)/CPP/7zip/Compress/LZMA_Alone
 
 
 define Host/Compile
 define Host/Compile
-	$(MAKE) -C $(UTIL_DIR) -f makefile.gcc
-	$(MAKE) -C $(ALONE_DIR) -f makefile.gcc
+	$(MAKE) -C $(UTIL_DIR) -f makefile.gcc LDFLAGS="-static"
+	$(MAKE) -C $(ALONE_DIR) -f makefile.gcc LDFLAGS="-static"
 endef
 endef
 
 
 define Host/Install
 define Host/Install