Meson: Detect cl-like compilers · libsigcplusplus/libsigcplusplus@d818694 · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Commit d818694

Browse files
judemillekjellahl
authored andcommitted
Meson: Detect cl-like compilers
This fixes DLL linkage with clang-cl or intel-cl.
1 parent 058200d commit d818694

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ project_source_root = meson.current_source_dir()
3939
project_build_root = meson.current_build_dir()
4040

4141
cpp_compiler = meson.get_compiler('cpp')
42-
is_msvc = cpp_compiler.get_id() == 'msvc'
42+
cpp_compiler_id = cpp_compiler.get_id()
43+
is_msvc = cpp_compiler_id == 'msvc' or cpp_compiler_id.endswith('-cl')
4344
python3 = find_program('python3', version: '>=3.7')
4445

4546
# MSVC: We currently do not support shared and static builds at the,

0 commit comments

Comments
 (0)

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.