libwebsockets: add optional libevent dependency
libevent is supported since 2.3.0 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
9d912e619d
commit
e46257264e
|
@ -35,6 +35,13 @@ else
|
|||
LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_LIBEV=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBEVENT),y)
|
||||
LIBWEBSOCKETS_DEPENDENCIES += libevent
|
||||
LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_LIBEVENT=ON
|
||||
else
|
||||
LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_LIBEVENT=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUV),y)
|
||||
LIBWEBSOCKETS_DEPENDENCIES += libuv
|
||||
LIBWEBSOCKETS_CONF_OPTS += -DLWS_WITH_LIBUV=ON
|
||||
|
|
Loading…
Reference in a new issue