agent++: need dynamic library support
authorLuca Ceresoli <luca@lucaceresoli.net>
Wed, 16 Apr 2014 10:25:16 +0000 (12:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 16 Apr 2014 17:10:01 +0000 (19:10 +0200)
Required by SNMP++.

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

index 1442a45758c15af9dc86439ce05a7a6e52c7edef..8fd6c0d507af7f2ac38e3df498779ab6dae70478 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_AGENTPP
        select BR2_PACKAGE_SNMPPP
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS # snmp++
+       depends on !BR2_PREFER_STATIC_LIB # snmp++
        help
          AGENT++ is a set of C++ classes which provides a complete protocol
          engine and dispatch table for the development of SNMP agents.
@@ -16,5 +17,6 @@ config BR2_PACKAGE_AGENTPP
 
          http://www.agentpp.com/agentpp3_5/agentpp3_5.html
 
-comment "agent++ needs a toolchain w/ threads, C++"
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+comment "agent++ needs a toolchain w/ threads, C++, dynamic library"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_PREFER_STATIC_LIB