Skip to contentSkip to conversation

cppdb: not available for static builds

PATCH New Gustavo Zacarias 2 participants 2 messages Feb 25, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cppdb: not available for static builds

Fixes:
http://autobuild.buildroot.net/results/cdc/cdc522c2cddb10a5c38239fcbea604bfa5a49045/

---
 package/cppdb/Config.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
package/cppdb/Config.in +5 -2
index a09151e..120598a 100644
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_CPPDB
 	bool "cppdb"
+	# dlfcn.h
+	depends on !BR2_PREFER_STATIC_LIB
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	# Can be built without them but it's useless
@@ -11,6 +13,7 @@ config BR2_PACKAGE_CPPDB
 
 	  http://cppcms.com/sql/cppdb/
 
-comment "cppdb needs a toolchain w/ C++, threads"
+comment "cppdb needs a toolchain w/ C++, threads, dynamic library"
 	depends on BR2_PACKAGE_MYSQL || BR2_PACKAGE_SQLITE
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+		BR2_PREFER_STATIC_LIB
Signature · 1 line
1.8.3.2