diff options
author | Romain Naour <romain.naour@gmail.com> | 2016-07-16 18:08:18 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-16 20:22:08 +0200 |
commit | d2c997e6b073ee244855e3239bf72e64df473f0e (patch) | |
tree | ebeba2456d95ecf7c16b5781ad30a7e6a5f17b5b /package/rp-pppoe | |
parent | f5dd6040821a5df948466ea9d116c089d1134c9d (diff) |
package/pppd: disable for musl toolchains
For the same reason as for ipsec-tools [1], disable pppd for musl
toolchains.
It also include <sys/cdefs.h> which is not provided by musl [2].
This fixes a compilation error with musl libc because of undeclared
__P and missing sys/cdefs.h include.
Propagate the dependency to network-manager and rp-pppoe
packages.
[1] 33499484e457018203023cdfdd5286478f2ae381
[2] http://wiki.musl-libc.org/wiki/FAQ#Q:_I.27m_trying_to_compile_something_against_musl_and_I_get_error_messages_about_sys.2Fcdefs.h
Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: add Config.in comment in network-manager.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/rp-pppoe')
-rw-r--r-- | package/rp-pppoe/Config.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/rp-pppoe/Config.in b/package/rp-pppoe/Config.in index 7f6afe27e..a41de3333 100644 --- a/package/rp-pppoe/Config.in +++ b/package/rp-pppoe/Config.in @@ -1,10 +1,11 @@ -comment "rp-pppoe needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "rp-pppoe needs a uClibc or glibc toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL depends on BR2_USE_MMU config BR2_PACKAGE_RP_PPPOE bool "rp-pppoe" depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL # pppd depends on BR2_USE_MMU # fork() select BR2_PACKAGE_PPPD help |