瀏覽代碼

m4: link statically

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

+ 3 - 1
tools/m4/Makefile

@@ -1,5 +1,5 @@
 # 
 # 
-# Copyright (C) 2008 OpenWrt.org
+# Copyright (C) 2008-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.
@@ -16,6 +16,8 @@ PKG_CAT:=zcat
 
 
 include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/host-build.mk
 
 
+HOST_LDFLAGS += -static
+
 define Host/Clean
 define Host/Clean
 	-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
 	-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
 	$(call Host/Clean/Default)
 	$(call Host/Clean/Default)