summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libmng/config.guess
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-06-12 15:41:30 +0200
committerSlávek Banko <[email protected]>2019-06-12 15:41:30 +0200
commitedad20d4f9ef3de0b91c163361803f12fc7212bc (patch)
tree3efb8cacc4ec9dc76ec4f3430b8bf8f3e5113dc1 /src/3rdparty/libmng/config.guess
parent934bc28242d329b8be70fbd5497421086083a028 (diff)
downloadqt3-edad20d4f9ef3de0b91c163361803f12fc7212bc.tar.gz
qt3-edad20d4f9ef3de0b91c163361803f12fc7212bc.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]>
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 dff9e48..c604127 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