diff options
author | Karl Berry <karl@freefriends.org> | 2018-01-28 01:23:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-01-28 01:23:18 +0000 |
commit | 0eefb70700ef65af5cc3a390d38b72baea6e7396 (patch) | |
tree | 53a25c2a91ce478335875e54d6e79386212ac57a /Build/source/utils/asymptote | |
parent | bb63147b5cdb22f837f1669ad8291a7c0fd9067a (diff) |
tl-update-auto
git-svn-id: svn://tug.org/texlive/trunk@46470 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote')
-rw-r--r-- | Build/source/utils/asymptote/config.guess | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/config.guess b/Build/source/utils/asymptote/config.guess index ae5ffc72f4b..9baaa270bfc 100644 --- a/Build/source/utils/asymptote/config.guess +++ b/Build/source/utils/asymptote/config.guess @@ -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 @@ Linux|GNU|GNU/*) #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 |