diff options
author | Slávek Banko <[email protected]> | 2019-06-12 12:50:07 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-06-12 15:39:56 +0200 |
commit | d6375a54e2945d494df5ad38ca98cbc8b4d901e7 (patch) | |
tree | 078c3bb4a82905e8bcda0409b714a73285e9f181 /src/3rdparty/libmng/config.guess | |
parent | 6e7a186f1e5bbd7e4b5e9150a422f4bc523efb7f (diff) | |
download | tqt3-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-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 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 |