summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libmng/config.guess
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-06-12 12:50:07 +0200
committerSlávek Banko <[email protected]>2019-06-12 15:39:56 +0200
commitd6375a54e2945d494df5ad38ca98cbc8b4d901e7 (patch)
tree078c3bb4a82905e8bcda0409b714a73285e9f181 /src/3rdparty/libmng/config.guess
parent6e7a186f1e5bbd7e4b5e9150a422f4bc523efb7f (diff)
downloadtqt3-d6375a54e2945d494df5ad38ca98cbc8b4d901e7.tar.gz
tqt3-d6375a54e2945d494df5ad38ca98cbc8b4d901e7.zip
Change tests for glibc version.
It resolves building with libc libraries other than glibc - for example musl libc. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 1aa221a2bc0a5c2f13a8d95af76a755b3c731251)
Diffstat (limited to 'src/3rdparty/libmng/config.guess')
-rwxr-xr-xsrc/3rdparty/libmng/config.guess10
1 files changed, 1 insertions, 9 deletions
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