[include] host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33138 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Jo-Philipp Wich 2012-08-12 12:34:25 +00:00
parent a3f4fb2069
commit 2fdeb90156
1 changed files with 4 additions and 0 deletions

View File

@ -65,6 +65,10 @@ HOST_CONFIGURE_ARGS = \
HOST_CONFIGURE_CMD = ./configure
ifneq ($(HOST_OS),Darwin)
HOST_STATIC_LINKING = -static
endif
define Host/Configure/Default
(cd $(HOST_BUILD_DIR)/$(3); \
if [ -x configure ]; then \