diff mbox

[1/1] netsnmp: bugfix for openssl dependency

Message ID 1378401982-23239-1-git-send-email-mlweber1@rockwellcollins.com
State Not Applicable
Headers show

Commit Message

Matt Weber Sept. 5, 2013, 5:26 p.m. UTC
In the configure check of netsnmp (if using with openssl enabled)
it checks for openssl and gets a undefined reference to dl* error.
Adding an additional references to the libld.a lib resolves this bug.

Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
---
 package/netsnmp/netsnmp.mk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index 806f7a6..7d31b9f 100644
--- a/package/netsnmp/netsnmp.mk
+++ b/package/netsnmp/netsnmp.mk
@@ -38,7 +38,8 @@  endif
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 	NETSNMP_DEPENDENCIES += openssl
 	NETSNMP_CONF_OPT += \
-		--with-openssl=$(STAGING_DIR)/usr/include/openssl
+		--with-openssl=$(STAGING_DIR)/usr/include/openssl \
+		--with-libs=-ldl
 else
 	NETSNMP_CONF_OPT += --without-openssl
 endif