Browse Source

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

SVN-Revision: 33138
Jo-Philipp Wich 13 years ago
parent
commit
94a96244f6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      include/host-build.mk

+ 4 - 0
include/host-build.mk

@@ -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 \