diff --git a/configure.ac b/configure.ac index ce8117b15d..035a7d0cff 100644 --- a/configure.ac +++ b/configure.ac @@ -553,6 +553,8 @@ PKG_CHECK_MODULES([LIBUV], [libuv >= 1.0.0], [], # libuv recvmmsg support AC_CHECK_DECLS([UV_UDP_RECVMMSG, UV_UDP_MMSG_FREE, UV_UDP_MMSG_CHUNK], [], [], [[#include ]]) +AS_CASE([$host], + [*-musl],[AC_DEFINE([HAVE_DECL_UV_UDP_RECVMMSG], [0], [Disable recvmmsg support on systems with MUSL glibc])]) # [pairwise: --enable-doh --with-libnghttp2=auto, --enable-doh --with-libnghttp2=yes, --disable-doh] AC_ARG_ENABLE([doh],