diff mbox

[2/2] package/poco: disable for static build

Message ID 1438682248-29767-2-git-send-email-joerg.krause@embedded.rocks
State Accepted
Headers show

Commit Message

Jörg Krause Aug. 4, 2015, 9:57 a.m. UTC
poco requires dlopen()

Fixes:
http://autobuild.buildroot.net/results/952/952f05efd245ba59991f3c5be02a0572e8b9e544/
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
---
 package/poco/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Thomas Petazzoni Aug. 6, 2015, 6:56 a.m. UTC | #1
Dear Jörg Krause,

On Tue,  4 Aug 2015 11:57:28 +0200, Jörg Krause wrote:
> poco requires dlopen()
> 
> Fixes:
> http://autobuild.buildroot.net/results/952/952f05efd245ba59991f3c5be02a0572e8b9e544/
> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>

There should be an empty line before the SoB line.

Also, there is a --no-sharedlibs option in poco's configure script that
is supposed to support statically linked environment. However, it does
not work.

So I've applied your patch after amending the commit log.

Thanks!

Thomas
diff mbox

Patch

diff --git a/package/poco/Config.in b/package/poco/Config.in
index 155f098..dfdc8d1 100644
--- a/package/poco/Config.in
+++ b/package/poco/Config.in
@@ -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)