package/qpid-proton: disable for static build only
authorRomain Naour <romain.naour@openwide.fr>
Wed, 22 Jul 2015 14:13:09 +0000 (16:13 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 22 Jul 2015 15:22:25 +0000 (17:22 +0200)
qpid-proton always build a shared library "libqpid-proton.so"

Fixes:
http://autobuild.buildroot.net/results/bf6/bf6b9bcc0cead87c8fb12ec4c7f5ff73e6d61d3f/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qpid-proton/Config.in

index b6a1aa9821a7164ed32953defaa0497e3e4ff875..f8aaf395fab927ffa225909ad71d9449c48d6675 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_QPID_PROTON
        bool "qpid-proton"
+       depends on !BR2_STATIC_LIBS # build a shared library
        depends on BR2_USE_WCHAR # util-linux
        select BR2_PACKAGE_UTIL_LINUX
        select BR2_PACKAGE_UTIL_LINUX_LIBUUID
@@ -13,5 +14,5 @@ config BR2_PACKAGE_QPID_PROTON
 
          https://qpid.apache.org/proton/
 
-comment "qpid-proton needs a toolchain w/ wchar"
-       depends on !BR2_USE_WCHAR
+comment "qpid-proton needs a toolchain w/ dynamic library, wchar"
+       depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR