bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Brecht Sanders
Subject: bug#53479: clang identified as MSVC because of cl* match
Date: Sun, 23 Jan 2022 14:03:33 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]