Don't peerdir libeatmydata if musl build is requested
@@ -665,7 +665,7 @@ module LINK_UNIT: BASE_UNIT {
NOPLATFORM=yes
}
- when (($USE_EAT_MY_DATA == "yes") && ($WIN32 != "yes") && ($DARWIN != "yes") && ($OS_ANDROID != "yes")) {
+ when (($USE_EAT_MY_DATA == "yes") && ($WIN32 != "yes") && ($DARWIN != "yes") && ($OS_ANDROID != "yes") && ($MUSL != "yes")) {
PEERDIR+=contrib/libs/libeatmydata
}
@@ -2800,6 +2800,8 @@ macro NO_LIBC() {
NO_RUNTIME()
ENABLE(NOLIBC)
DISABLE(MUSL)
+ # libeatmydata isn't compatible with MUSL
+ DISABLE(USE_EAT_MY_DATA)
}
macro NO_JOIN_SRC() {
