[Buildroot] [PATCH 1/1] netsnmp: bugfix for openssl dependency
Matt Weber
mlweber1 at rockwellcollins.com
Thu Sep 5 17:26:22 UTC 2013
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 at rockwellcollins.com>
---
package/netsnmp/netsnmp.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
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
--
1.7.1
More information about the buildroot
mailing list