summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 6fc29b3a9..a8bc79ea6 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 \