From e0da6bf5bb7aad2e903ae3d8e092772662aa567a Mon Sep 17 00:00:00 2001 From: Thomas Huehn Date: Thu, 12 Jan 2017 16:10:32 +0100 Subject: [PATCH] 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 Reviewed-by: Karl Palsson --- net/mosquitto/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mosquitto/Makefile b/net/mosquitto/Makefile index 08c037dc1..94a0298c1 100644 --- 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