mosquitto: Fix host UNAME detection
authorThomas Huehn <thomas@net.t-labs.tu-berlin.de>
Thu, 12 Jan 2017 15:10:32 +0000 (16:10 +0100)
committerKarl Palsson <karlp@etactica.com>
Thu, 12 Jan 2017 16:17:53 +0000 (16:17 +0000)
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>
net/mosquitto/Makefile

index 08c037dc116f94b4aa17ec30470fdee10852b659..94a0298c15929efda0cd4010326234b9a9c1f96b 100644 (file)
@@ -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