From 3a437178dcc8337a5245223f22bb397bdb2fc54c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 13 Aug 2012 00:26:34 +0000 Subject: [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 --- include/host-build.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/host-build.mk') diff --git a/include/host-build.mk b/include/host-build.mk index a8bc79ea67..40af5c87cc 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -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 -- cgit v1.2.3