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

SVN-Revision: 33138
owl
Jo-Philipp Wich 2012-08-12 12:34:25 +00:00
parent b942309f4f
commit 94a96244f6
1 changed files with 4 additions and 0 deletions

View File

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