summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/snmppp/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/snmppp/Config.in b/package/snmppp/Config.in
index 8b69fabe43..ef217f7241 100644
--- a/package/snmppp/Config.in
+++ b/package/snmppp/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_SNMPPP
bool "snmp++"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_PREFER_STATIC_LIB
help
SNMP++v3.x is a C++ API which supports SNMP v1, v2c, and v3.
@@ -25,5 +26,6 @@ config BR2_PACKAGE_SNMPPP_SNMPV3
endif
-comment "snmp++ needs a toolchain w/ threads, C++"
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+comment "snmp++ needs a toolchain w/ threads, C++, dynamic library"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+ BR2_PREFER_STATIC_LIB
OpenPOWER on IntegriCloud