mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user