bug#53479: clang identified as MSVC because of cl* match

Brecht Sanders <[email protected]> Sun, 23 Jan 2022 14:03:33 +0100
Newsgroups gmane.comp.gnu.libtool.bugs
Message-ID <[email protected]>
When building MinGW-w64 with clang I ran into issues compiling 
|winpthreads|.

Somehow |libtool| would always build as if the compiler was MSVC (|.lib| 
instead of |.a|, MSVC-style linker flags).

After digging into what caused this I found that 
|mingw-w64-libraries/winpthreads/configure| matches the compiler with 
|cl*| to detect MSVC (|cl.exe|) but as I'm using |clang.exe| this also 
matches.

But there are more similar issues in m4/libtool.m4.

How do I get around this, or is this something that can be fixed in libtool?
||||

_______________________________________________
Bug-libtool mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-libtool