[buildroot] introduce a menuconfig option to turn off static linking of host utilities

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33154 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Jo-Philipp Wich
2012-08-13 00:26:34 +00:00
parent d318053bec
commit 3a437178dc
2 changed files with 10 additions and 1 deletions

View File

@@ -66,7 +66,9 @@ HOST_CONFIGURE_ARGS = \
HOST_CONFIGURE_CMD = ./configure
ifneq ($(HOST_OS),Darwin)
HOST_STATIC_LINKING = -static
ifeq ($(CONFIG_BUILD_STATIC_TOOLS),y)
HOST_STATIC_LINKING = -static
endif
endif
define Host/Configure/Default