[Buildroot] [PATCH 1/1] package/openzwave: needs dynamic library

Fabrice Fontaine fontaine.fabrice at gmail.com
Sun Jun 2 16:43:23 UTC 2019


openzwave always build and install a dynamic library so add a dependency
to !BR2_STATIC_LIBS as domoticz is the only package that use openzwave
and it already depends on !BR2_STATIC_LIBS.

This behavior has not changed from 1.5 to 1.6 even if there is only a
build failure with 1.6.

Fixes:
 - http://autobuild.buildroot.org/results/f6c8c4072b2cd5b6e9aa548f41ab000e152f1add

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/openzwave/Config.in | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/package/openzwave/Config.in b/package/openzwave/Config.in
index d86d358723..f2a4ca5225 100644
--- a/package/openzwave/Config.in
+++ b/package/openzwave/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_OPENZWAVE
 	bool "openzwave"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_STATIC_LIBS
 	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_TINYXML
 	help
@@ -12,6 +13,6 @@ config BR2_PACKAGE_OPENZWAVE
 
 	  http://www.openzwave.net
 
-comment "openzwave needs a toolchain w/ C++, threads, wchar"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
-		!BR2_USE_WCHAR
+comment "openzwave needs a toolchain w/ C++, dynamic library, threads, wchar"
+	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
+		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
-- 
2.20.1



More information about the buildroot mailing list