]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
libcec: not available on pure static builds
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Feb 2014 22:10:56 +0000 (23:10 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 22 Feb 2014 22:20:03 +0000 (23:20 +0100)
libcec needs libdl, so it cannot work on pure static builds.

Fixes:

  http://autobuild.buildroot.org/results/670/670ce46627daaa4ae9ecdb8ffb6f97d0574354d4/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libcec/Config.in

index 4cfe1ce474769baefba6cdd0012aabb49ad719d8..80974726e82e7aebff13d0c96ae99c16e57e2532 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBCEC
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_WCHAR
+       depends on !BR2_PREFER_STATIC_LIB
        help
          libcec allows you in combination with the right hardware to
          control your home theater devices with your TV remote
@@ -10,6 +11,6 @@ config BR2_PACKAGE_LIBCEC
 
          http://libcec.pulse-eight.com
 
-comment "libcec needs a toolchain w/ C++, wchar, threads"
+comment "libcec needs a toolchain w/ C++, wchar, threads, dynamic library"
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
-               !BR2_USE_WCHAR
+               !BR2_USE_WCHAR || BR2_PREFER_STATIC_LIB