hplip: needs dynamic library
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 18 Aug 2016 20:33:35 +0000 (22:33 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 19 Aug 2016 09:41:23 +0000 (11:41 +0200)
hplip needs libdl functionality, so it should depend on
!BR2_STATIC_LIBS.

Fixes:

  http://autobuild.buildroot.net/results/afc01af153b42d13845e2f2828f642e8ccea7e06/

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

index 756567150d135a2ab4c2c719a4193fdba65e4eef..176dc6a6a731705fc12af39c38b8a237608cf9cf 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_HPLIP
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_PACKAGE_CUPS
        depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+       depends on !BR2_STATIC_LIBS # libdl
        select BR2_PACKAGE_LIBUSB
        select BR2_PACKAGE_JPEG
        help
@@ -15,6 +16,7 @@ config BR2_PACKAGE_HPLIP
 
          http://hplipopensource.com/
 
-comment "hplip needs a toolchain w/ C++, threads"
+comment "hplip needs a toolchain w/ C++, threads, dynamic library"
        depends on BR2_PACKAGE_CUPS
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_STATIC_LIBS