From d6375a54e2945d494df5ad38ca98cbc8b4d901e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 12 Jun 2019 12:50:07 +0200 Subject: Change tests for glibc version. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It resolves building with libc libraries other than glibc - for example musl libc. Signed-off-by: Slávek Banko (cherry picked from commit 1aa221a2bc0a5c2f13a8d95af76a755b3c731251) --- src/3rdparty/libmng/config.guess | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/3rdparty/libmng/config.guess') diff --git a/src/3rdparty/libmng/config.guess b/src/3rdparty/libmng/config.guess index dff9e481b..c604127a2 100755 --- a/src/3rdparty/libmng/config.guess +++ b/src/3rdparty/libmng/config.guess @@ -861,15 +861,7 @@ EOF int main (argc, argv) int argc; char *argv[]; { #endif #ifdef __ELF__ -# ifdef __GLIBC__ -# if __GLIBC__ >= 2 - printf ("%s-pc-linux-gnu\n", argv[1]); -# else - printf ("%s-pc-linux-gnulibc1\n", argv[1]); -# endif -# else - printf ("%s-pc-linux-gnulibc1\n", argv[1]); -# endif + printf ("%s-pc-linux-gnu\n", argv[1]); #else printf ("%s-pc-linux-gnuaout\n", argv[1]); #endif -- cgit v1.2.1