Skip to contentSkip to conversation

package/hplip: fix static linking with cups

PATCH New Bernd Kuhls 2 participants 2 messages May 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/hplip: fix static linking with cups

Fixes
http://autobuild.buildroot.net/results/c52/c5277c42344d194e004dcd0a5af71bc6110da97e/

---
 package/hplip/hplip.mk | 3 +++
 1 file changed, 3 insertions(+)
package/hplip/hplip.mk +3 -0
index b1e8cb5..d70e2e9 100644
@@ -27,6 +27,9 @@ HPLIP_CONF_OPTS = \
 	--enable-new-hpcups \
 	--enable-lite-build
 
+# build system does not support cups-config
+HPLIP_CONF_ENV = LIBS=`$(STAGING_DIR)/usr/bin/cups-config --libs`
+
 ifeq ($(BR2_PACKAGE_DBUS),y)
 HPLIP_CONF_OPTS += --enable-dbus-build
 HPLIP_DEPENDENCIES += dbus
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 package/hplip: fix static linking with cups

Hello,

Quoted 7 lines · Bernd Kuhls

Fixes
http://autobuild.buildroot.net/results/c52/c5277c42344d194e004dcd0a5af71bc6110da97e/

---
 package/hplip/hplip.mk | 3 +++
 1 file changed, 3 insertions(+)

Applied to master, thanks.

Thomas

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