diff options
author | Slávek Banko <[email protected]> | 2019-06-12 15:41:30 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-06-12 15:41:30 +0200 |
commit | edad20d4f9ef3de0b91c163361803f12fc7212bc (patch) | |
tree | 3efb8cacc4ec9dc76ec4f3430b8bf8f3e5113dc1 /src/3rdparty/libmng/config.guess | |
parent | 934bc28242d329b8be70fbd5497421086083a028 (diff) | |
download | qt3-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-x | src/3rdparty/libmng/config.guess | 10 |
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 |