aboutsummaryrefslogtreecommitdiff
path: root/package/sane-backends/sane-backends.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2015-10-14 22:37:46 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-10-15 09:39:54 +0200
commit389827f9d4c3f5f0abb337f7ba1129c11b6facbc (patch)
tree5be230fab89031c803d5fd00f344523a38f29e9b /package/sane-backends/sane-backends.mk
parent6c59216f154e83521628068bb12994fe28894894 (diff)
downloadbuildroot-389827f9d4c3f5f0abb337f7ba1129c11b6facbc.tar.gz
buildroot-389827f9d4c3f5f0abb337f7ba1129c11b6facbc.tar.bz2
sane-backends: specify explicit path to net-snmp-config
Otherwise if the host distro has net-snmp devel files sane-backends will find /usr/bin/net-snmp-config first and the build will break. Fixes: http://autobuild.buildroot.net/results/c38/c381c316907964787ebe1a0807399022f15d8158/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/sane-backends/sane-backends.mk')
-rw-r--r--package/sane-backends/sane-backends.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/sane-backends/sane-backends.mk b/package/sane-backends/sane-backends.mk
index 0c0b5a98c3..e980929345 100644
--- a/package/sane-backends/sane-backends.mk
+++ b/package/sane-backends/sane-backends.mk
@@ -39,6 +39,7 @@ SANE_BACKENDS_CONF_OPTS += --enable-avahi
endif
ifeq ($(BR2_PACKAGE_NETSNMP),y)
+SANE_BACKENDS_CONF_ENV += ac_cv_path_SNMP_CONFIG_PATH=$(STAGING_DIR)/usr/bin/net-snmp-config
SANE_BACKENDS_DEPENDENCIES += netsnmp
else
SANE_BACKENDS_CONF_OPTS += --without-snmp