Skip to content

Commit fb8c5c8

Browse files
committed
jolt: disable clang + msys2 build
1 parent 5165184 commit fb8c5c8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

subprojects/packagefiles/joltphysics/meson.build

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ cpp = meson.get_compiler('cpp')
1212

1313
message('system: ' + host_machine.system())
1414

15-
if cpp.get_id().contains('clang') and host_machine.system() == 'cygwin'
15+
# meson reports msys2 as windows, so we have to check for clang + windows
16+
# to catch clang on msys2. This doesn't catch clang-cl on windows so thats
17+
# fine.
18+
if cpp.get_id() == 'clang' and host_machine.system() == 'windows'
1619
error(
1720
'unsupported architecture: Clang on cygwin/msys2 cannot build jolt due to linking issues, sorry',
1821
)

0 commit comments

Comments
 (0)