From: Jo-Philipp Wich Date: Sun, 12 Aug 2012 12:34:25 +0000 (+0000) Subject: [include] host-build.mk: define a variable HOST_STATIC_LINKING which is set to "... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ab041e9a8db1ba64ecf100ca39bd56628eb2f640;p=openwrt%2Fsvn-archive%2Farchive.git [include] host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems SVN-Revision: 33138 --- 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 \