From: Bernd Kuhls Date: Mon, 23 May 2016 04:02:32 +0000 (+0200) Subject: package/hplip: fix static linking with cups X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=012e10bf6215cbfc8006003e42dee8167d6cd1ef;p=buildroot.git package/hplip: fix static linking with cups Fixes http://autobuild.buildroot.net/results/c52/c5277c42344d194e004dcd0a5af71bc6110da97e/ Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/hplip/hplip.mk b/package/hplip/hplip.mk index b1e8cb55d2..d70e2e926f 100644 --- a/package/hplip/hplip.mk +++ b/package/hplip/hplip.mk @@ -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