package/poco: disable for static build
authorJörg Krause <joerg.krause@embedded.rocks>
Tue, 4 Aug 2015 09:57:28 +0000 (11:57 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 6 Aug 2015 06:54:52 +0000 (08:54 +0200)
poco requires dlopen(). There is a --no-sharedlibs option that is
supposed to support building in a statically linked environment, but
it doesn't do anything.

Fixes:

  http://autobuild.buildroot.net/results/952/952f05efd245ba59991f3c5be02a0572e8b9e544/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/poco/Config.in

index 155f098a30935151030f4127f332f9e50859acbf..dfdc8d17c39492b97b886ac9b8c8409dec6d2f95 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_POCO
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_STATIC_LIBS # dlopen()
        depends on !(BR2_arc || BR2_bfin || BR2_microblaze || BR2_mipsel \
                || BR2_xtensa)
        select BR2_PACKAGE_ZLIB
@@ -60,8 +61,8 @@ config BR2_PACKAGE_POCO_DATA_MYSQL
 
 endif # BR2_PACKAGE_POCO
 
-comment "poco needs a toolchain w/ wchar, threads, C++"
+comment "poco needs a toolchain w/ wchar, threads, C++, dynamic library"
        depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP \
-               || !BR2_TOOLCHAIN_HAS_THREADS
+               || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
        depends on !(BR2_arc || BR2_bfin || BR2_microblaze || BR2_mipsel \
                || BR2_xtensa)