package/syslog-ng: fix libnet detection
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 25 Jun 2017 08:37:49 +0000 (10:37 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 2 Jul 2017 16:16:17 +0000 (18:16 +0200)
Fixes
http://autobuild.buildroot.net/results/e71/e718aab76d41c9c1aa5f9e3e74fb48b63038f254/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/syslog-ng/syslog-ng.mk

index bc49fadf999bfc0b83e26a3a2eef4e5f696e26c3..325fac5842e109dc744c89a5ebce332f97b3b177 100644 (file)
@@ -71,7 +71,9 @@ endif
 
 ifeq ($(BR2_PACKAGE_LIBNET),y)
 SYSLOG_NG_DEPENDENCIES += libnet
-SYSLOG_NG_CONF_OPTS += --enable-spoof-source
+SYSLOG_NG_CONF_OPTS += \
+       --with-libnet=$(STAGING_DIR)/usr/bin \
+       --enable-spoof-source
 else
 SYSLOG_NG_CONF_OPTS += --disable-spoof-source
 endif