Commit c8a1b08b authored by Guillem Jover's avatar Guillem Jover

build: Match any glibc and musl ABIs on the host_os AS_CASE

Reported-by: default avatarHelmut Grohne <>
parent 4fec871c
......@@ -45,14 +45,14 @@ AM_CONDITIONAL([HAVE_LIBTESTU01],
[test "x$ac_cv_lib_testu01_unif01_CreateExternGenBits" = "xyes"])
[*-gnu], [
[*-gnu*], [
# In old glibc versions (< 2.17) clock_gettime() is in librt.
AC_SEARCH_LIBS([clock_gettime], [rt], [CLOCK_GETTIME_LIBS="-lrt"])
[*-musl], [
[*-musl*], [
# Upstream refuses to define this, we will do it ourselves then.
AC_DEFINE([__MUSL__], [1], [Define to 1 if we are building for musl])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment