kumquat-buildroot/package/libwebsockets/libwebsockets.mk
Baptiste Moraine 977ea262bc libwebsockets: add LWS_ prefix to LWS_WITHOUT_TESTAPPS=ON cmake option
Currently, libwebsockets.mk is passing -DWITHOUT_TESTAPPS=ON to disable
the building of libwebsockets test applications, but this is doing nothing
because the option is really named  LWS_WITHOUT_TESTAPPS.
This commit fixes that by using the correct option name.

Signed-off-by: Baptiste Moraine <baptiste.moraine@kapelse.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-29 18:57:38 +02:00

24 lines
822 B
Makefile

################################################################################
#
# libwebsockets
#
################################################################################
LIBWEBSOCKETS_VERSION = v1.4-chrome43-firefox-36
LIBWEBSOCKETS_SOURCE = libwebsockets-$(LIBWEBSOCKETS_VERSION).tar.xz
LIBWEBSOCKETS_SITE = http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot
LIBWEBSOCKETS_LICENSE = LGPLv2.1 with exceptions
LIBWEBSOCKETS_LICENSE_FILES = LICENSE
LIBWEBSOCKETS_DEPENDENCIES = zlib
LIBWEBSOCKETS_INSTALL_STAGING = YES
LIBWEBSOCKETS_CONF_OPTS = -DLWS_WITHOUT_TESTAPPS=ON -DLWS_IPV6=ON
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBWEBSOCKETS_DEPENDENCIES += openssl host-openssl
LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=ON
else
LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_SSL=OFF
endif
$(eval $(cmake-package))