libnet: disable for musl toolchains
authorJoris Lijssens <joris.lijssens@gmail.com>
Fri, 20 Nov 2015 15:29:27 +0000 (16:29 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 29 Nov 2015 14:30:34 +0000 (15:30 +0100)
Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libnet/Config.in

index 7186972b7e441b63401f0655f174f1fa9fceb310..8a881286e775d5e7a57a88f12abcb1b5cf4b85de 100644 (file)
@@ -1,7 +1,12 @@
 config BR2_PACKAGE_LIBNET
        bool "libnet"
+       # Build with musl fails due to header issues
+       depends on !BR2_TOOLCHAIN_USES_MUSL
        help
          libnet provides a portable framework for low-level network
          packet construction.
 
          http://sourceforge.net/projects/libnet-dev
+
+comment "libnet needs a (e)glibc or uClibc toolchain"
+       depends on BR2_TOOLCHAIN_USES_MUSL