diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-06-12 12:50:07 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-06-12 12:50:07 +0200 |
commit | 1aa221a2bc0a5c2f13a8d95af76a755b3c731251 (patch) | |
tree | a7a3b607c4f4b90de4c3f802c748a9fad2364632 /src/3rdparty | |
parent | 0e749567664176465c05497d2145a24c42f76829 (diff) | |
download | tqt3-1aa221a2bc0a5c2f13a8d95af76a755b3c731251.tar.gz tqt3-1aa221a2bc0a5c2f13a8d95af76a755b3c731251.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 <slavek.banko@axis.cz>
Diffstat (limited to 'src/3rdparty')
-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 |