Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] libnet: explicitly pass libnet_cv_have_packet_socket=yes because PF_PACKET is always available on Linux
@ 2015-11-18 12:15 Joris Lijssens
  2015-11-19 22:00 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Joris Lijssens @ 2015-11-18 12:15 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
---
 package/libnet/libnet.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/libnet/libnet.mk b/package/libnet/libnet.mk
index 3b62a79..7004417 100644
--- a/package/libnet/libnet.mk
+++ b/package/libnet/libnet.mk
@@ -10,4 +10,9 @@ LIBNET_INSTALL_STAGING = YES
 LIBNET_LICENSE = BSD-2c, BSD-3c
 LIBNET_LICENSE_FILES = doc/COPYING
 
+# PF_PACKET is always available on Linux, but build breaks for musl
+ifneq ($(BR2_TOOLCHAIN_USES_MUSL),y)
+LIBNET_CONF_OPTS = libnet_cv_have_packet_socket=yes
+endif
+
 $(eval $(autotools-package))
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-19 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-18 12:15 [Buildroot] [PATCH 1/1] libnet: explicitly pass libnet_cv_have_packet_socket=yes because PF_PACKET is always available on Linux Joris Lijssens
2015-11-19 22:00 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox