Skip to contentSkip to conversation

package/syslog-ng: fix libnet detection

PATCH New Bernd Kuhls 3 participants 4 messages Jun 25, 2017 – Jul 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/syslog-ng: fix libnet detection

Fixes
http://autobuild.buildroot.net/results/e71/e718aab76d41c9c1aa5f9e3e74fb48b63038f254/

---
 package/syslog-ng/syslog-ng.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/syslog-ng/syslog-ng.mk +3 -1
index bc49fadf9..325fac584 100644
@@ -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
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/syslog-ng: fix libnet detection

On 25/06/2017 8:37 PM, "Bernd Kuhls" <[email protected]> wrote:

Fixes
http://autobuild.buildroot.net/results/e71/e718aab76d41c9c1aa5f9e3e74fb48
b63038f254/

---
 package/syslog-ng/syslog-ng.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/syslog-ng/syslog-ng.mk +3 -1
index bc49fadf9..325fac584 100644
@@ -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
 
 

The usr/bin threw me at first but I assume the configure test looks for libnet-config.

else
SYSLOG_NG_CONF_OPTS += --disable-spoof-source
endif
--
2.11.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170625/2e2a9108/attachment.html>