package/openzwave: needs dynamic library
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 2 Jun 2019 16:43:23 +0000 (18:43 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 8 Jun 2019 18:59:02 +0000 (20:59 +0200)
openzwave always builds and installs a dynamic library, so add a
dependency to !BR2_STATIC_LIBS. domoticz is the only package that uses
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@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/openzwave/Config.in

index d86d358723b1ac74adc97ff91b2025303386bb5f..f2a4ca5225df0217c4d1a8dee0b3a22b328ec239 100644 (file)
@@ -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