From e65348e877e65f918d73cd8fa9ca1e2f9ebf91a3 Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 12 Aug 2012 12:34:25 +0000 Subject: [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 --- include/host-build.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 \ -- cgit v1.2.3