mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
collectd: fix 5.7.1 compilation with encrypted network
The encrypted network feature seems to have changed between 5.5.3 and 5.7.1. Adjust Makefile to enable compilation with that feature. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
@@ -182,7 +182,7 @@ endef
|
|||||||
|
|
||||||
define Package/collectd
|
define Package/collectd
|
||||||
$(call Package/collectd/Default)
|
$(call Package/collectd/Default)
|
||||||
DEPENDS:= +libpthread +zlib +libltdl +libip4tc
|
DEPENDS:= +libpthread +zlib +libltdl +libip4tc +PACKAGE_COLLECTD_ENCRYPTED_NETWORK:libgcrypt
|
||||||
MENU:=1
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -214,7 +214,9 @@ CONFIGURE_ARGS+= \
|
|||||||
|
|
||||||
ifneq ($(CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK),)
|
ifneq ($(CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK),)
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
--with-libgcrypt=$(STAGING_DIR)/include
|
--with-libgcrypt=$(STAGING_DIR)/usr
|
||||||
|
CONFIGURE_VARS+= \
|
||||||
|
LDFLAGS="$$$$LDFLAGS -lgcrypt"
|
||||||
else
|
else
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
--without-libgcrypt
|
--without-libgcrypt
|
||||||
|
|||||||
Reference in New Issue
Block a user