Skip to contentSkip to conversation

hplip: needs dynamic library

PATCH New Thomas Petazzoni 1 participant 2 messages Aug 18, 2016 – Aug 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hplip: needs dynamic library

hplip needs libdl functionality, so it should depend on !BR2_STATIC_LIBS.

Fixes:

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

---
 package/hplip/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/hplip/Config.in +4 -2
index 7565671..176dc6a 100644
@@ -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
Signature · 1 line
2.7.4
author Applied
#1 lore raw

PATCH 1/1 hplip: needs dynamic library

Hello,

Quoted 11 lines · Thomas Petazzoni

hplip needs libdl functionality, so it should depend on !BR2_STATIC_LIBS.

Fixes:

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

---
 package/hplip/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com