lirc-tools: needs dlopen(), not available for static only builds
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 7 Aug 2015 09:47:02 +0000 (11:47 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 7 Aug 2015 09:47:02 +0000 (11:47 +0200)
Fixes:

  http://autobuild.buildroot.net/results/87c/87cf6312bef189e4f3a49983bfc662d69afa05b4/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lirc-tools/Config.in

index 8ce83a05153d70dd8e90c2ed327ab0454c3bfc0a..a0fbbb8304dd26d8f8000cf448f7e0d99023e06e 100644 (file)
@@ -2,6 +2,8 @@ config BR2_PACKAGE_LIRC_TOOLS
        bool "lirc-tools"
        depends on BR2_USE_MMU # fork()
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       # dlopen()
+       depends on !BR2_STATIC_LIBS
        help
          LIRC is a package that supports receiving and sending IR
          signals of the most common IR remote controls. It contains a
@@ -15,6 +17,6 @@ config BR2_PACKAGE_LIRC_TOOLS
 
          http://www.lirc.org/
 
-comment "lirc-tools needs a toolchain w/ threads"
+comment "lirc-tools needs a toolchain w/ threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS