# HG changeset patch # User Karl Berry # Date 1516985563 28800 # Node ID a7a6a37cf6b3ebb135a9b0965224b16e27bf56b7 # Parent 736946da5f2cb1765513b92f6f91dfa0a1d8e5ce autoupdate diff -r 736946da5f2c -r a7a6a37cf6b3 build-aux/config.guess --- a/build-aux/config.guess Fri Jan 26 05:51:55 2018 +0100 +++ b/build-aux/config.guess Fri Jan 26 08:52:43 2018 -0800 @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2018 Free Software Foundation, Inc. -timestamp='2018-01-16' +timestamp='2018-01-26' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -150,6 +150,13 @@ #endif EOF eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" + + # If ldd exists, use it to detect musl libc. + if command -v ldd >/dev/null && \ + ldd --version 2>&1 | grep -q ^musl + then + LIBC=musl + fi ;; esac