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>
This commit is contained in:
Thomas Huehn 2017-01-12 16:10:32 +01:00 committed by Karl Palsson
parent 462219ca74
commit e0da6bf5bb
1 changed files with 1 additions and 1 deletions

View 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