Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Commit d2b6e42

Browse files
committed
build/meson: fix modules builds on mingw winpthreads
1 parent e9d2c5d commit d2b6e42

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

meson.build

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ msft_proxy4_dep = declare_dependency(
3434
modules = get_option('modules')
3535
modules_interface_spec = {
3636
'gcc': {
37-
'flags': ['-fmodules', '-fdeps-format=p1689r5'],
37+
'flags': [
38+
'-fmodules',
39+
'-fdeps-format=p1689r5',
40+
'-DWINPTHREAD_COND_DECL=WINPTHREADS_ALWAYS_INLINE',
41+
],
3842
'check_only': ['-M'],
3943
},
4044
'msvc': {

0 commit comments

Comments
 (0)