lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit a3b019fce527045de0fdeb8e7f1271d4d7398be2
parent 2fc5a82b48cf124b7825a8bb3a1dd579a1e96629
Author: Hannu Nyman <hannu.nyman@iki.fi>
Date:   Thu, 26 Jan 2017 13:28:22 +0200

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>

Diffstat:
Mutils/collectd/Makefile | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile @@ -182,7 +182,7 @@ endef define Package/collectd $(call Package/collectd/Default) - DEPENDS:= +libpthread +zlib +libltdl +libip4tc + DEPENDS:= +libpthread +zlib +libltdl +libip4tc +PACKAGE_COLLECTD_ENCRYPTED_NETWORK:libgcrypt MENU:=1 endef @@ -214,7 +214,9 @@ CONFIGURE_ARGS+= \ ifneq ($(CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK),) CONFIGURE_ARGS+= \ - --with-libgcrypt=$(STAGING_DIR)/include + --with-libgcrypt=$(STAGING_DIR)/usr +CONFIGURE_VARS+= \ + LDFLAGS="$$$$LDFLAGS -lgcrypt" else CONFIGURE_ARGS+= \ --without-libgcrypt