snmp++: need dynamic library support
authorLuca Ceresoli <luca@lucaceresoli.net>
Wed, 16 Apr 2014 10:25:15 +0000 (12:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 16 Apr 2014 17:09:58 +0000 (19:09 +0200)
Fixes:
  http://autobuild.buildroot.net/results/7b9/7b9ec11514219e5f315df0b30204f431b4c4f8a1/

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/snmppp/Config.in

index 8b69fabe43ccffd5814a9cbf1c5b3dac2ba0bc48..ef217f7241e66ca5d23fd20bbbcbbae1968c1c26 100644 (file)
@@ -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