aboutsummaryrefslogtreecommitdiffstats
path: root/include/host-build.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-12 12:34:25 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-12 12:34:25 +0000
commit2fdeb901566cceb6027d28b68b94346528c80786 (patch)
treec0c5f3b1fcd0406e4404fbfa82ddfd8c454e121e /include/host-build.mk
parenta3f4fb2069f507fe2d46f929e44db6e703e750f9 (diff)
downloadupstream-2fdeb901566cceb6027d28b68b94346528c80786.tar.gz
upstream-2fdeb901566cceb6027d28b68b94346528c80786.tar.bz2
upstream-2fdeb901566cceb6027d28b68b94346528c80786.zip
[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
Diffstat (limited to 'include/host-build.mk')
-rw-r--r--include/host-build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/host-build.mk b/include/host-build.mk
index 6fc29b3a97..a8bc79ea67 100644
--- a/include/host-build.mk
+++ b/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 \