commit e0da6bf5bb7aad2e903ae3d8e092772662aa567a
parent 462219ca74b5026222d01c2e9f9c4fed84c793be
Author: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Date: Thu, 12 Jan 2017 16:10:32 +0100
mosquitto: Fix host UNAME detection
This fixes a bug when mosquitto is crosscompiled in LEDE on OS X.
UNAME is explicitly executed on the host, when we want it to be treated
as a regular linux build.
This patch passes the proper UNAME=Linux variable to the mosquitto
make file in order to respect linux as cross-compiler.
Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mosquitto/Makefile b/net/mosquitto/Makefile
@@ -209,7 +209,7 @@ define Package/libmosquittopp/install
endef
# Applies to all...
-MAKE_FLAGS += WITH_DOCS=no
+MAKE_FLAGS += WITH_DOCS=no UNAME=Linux
ifeq ($(BUILD_VARIANT),nossl)
MAKE_FLAGS += WITH_TLS=no WITH_WEBSOCKETS=no
else