Browse Source

mosquitto: don't depend on websocket for -nossl variant

Signed-off-by: Nicolas Thill <nico@openwrt.org>
lilik-openwrt-22.03
Nicolas Thill 10 years ago
parent
commit
cd21cbb82e
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      net/mosquitto/Makefile

+ 4
- 4
net/mosquitto/Makefile View File

@ -21,9 +21,6 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSI
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
MAKE_FLAGS+=WITH_DOCS=no
MAKE_FLAGS+=WITH_WEBSOCKETS=$(if $(CONFIG_MOSQUITTO_LWS),"yes","no")
define Package/$(PKG_NAME)/default define Package/$(PKG_NAME)/default
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
@ -186,8 +183,11 @@ endef
Package/libmosquitto-nossl/install = $(Package/libmosquitto/install) Package/libmosquitto-nossl/install = $(Package/libmosquitto/install)
# Applies to all... # Applies to all...
MAKE_FLAGS += WITH_DOCS=no
ifeq ($(BUILD_VARIANT),nossl) ifeq ($(BUILD_VARIANT),nossl)
MAKE_FLAGS += WITH_TLS=no
MAKE_FLAGS += WITH_TLS=no WITH_WEBSOCKETS=no
else
MAKE_FLAGS += WITH_WEBSOCKETS=$(if $(CONFIG_MOSQUITTO_LWS),"yes","no")
endif endif
$(eval $(call BuildPackage,$(PKG_NAME))) $(eval $(call BuildPackage,$(PKG_NAME)))


Loading…
Cancel
Save