libnopoll: Fix clashes with sys/param.h and link with openssl

Some toolchains may automatically have sys/params.h which includes
isset() backport upstream commit
675ac7b4b64d398de8a61e9c713383b8c0d9071f to fix that. Also explicitly
link with openssl.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
Florian Fainelli
2017-07-02 12:57:08 -07:00
parent 38eb3ad83a
commit a899a96f9e
2 changed files with 69 additions and 1 deletions
+3 -1
View File
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nopoll
PKG_VERSION:=0.4.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/ASPLes/nopoll.git
@@ -40,6 +40,8 @@ define Package/libnopoll/description
This package contains the noPoll C WebSocket library.
endef
TARGET_LDFLAGS += -lcrypto -lpthread
CONFIGURE_ARGS += \
--enable-nopoll-log=no \
--enable-nopoll-doc=no