Skip to contentSkip to conversation

libgtk2: point to the proper cups-config

PATCH New Gustavo Zacarias 2 participants 2 messages Mar 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libgtk2: point to the proper cups-config

Otherwise it can pick up the distro cups-config if it's present, leading to improper library usage/linkage. Fixes:
http://autobuild.buildroot.net/results/bf4/bf493977817a750427aae82e71a5257187bd7344/

---
 package/libgtk2/libgtk2.mk | 1 +
 1 file changed, 1 insertion(+)
package/libgtk2/libgtk2.mk +1 -0
index 971e33c..94fa97f 100644
@@ -85,6 +85,7 @@ LIBGTK2_CONF_OPTS += --without-libtiff
 endif
 
 ifeq ($(BR2_PACKAGE_CUPS),y)
+LIBGTK2_CONF_OPTS += CUPS_CONFIG="$(STAGING_DIR)/usr/bin/cups-config"
 LIBGTK2_DEPENDENCIES += cups
 else
 LIBGTK2_CONF_OPTS += --disable-cups
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/1 libgtk2: point to the proper cups-config

Hello,

Quoted 8 lines · Gustavo Zacarias

Otherwise it can pick up the distro cups-config if it's present, leading to improper library usage/linkage. Fixes:
http://autobuild.buildroot.net/results/bf4/bf493977817a750427aae82e71a5257187bd7344/

---
 package/libgtk2/libgtk2.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

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