Skip to content

Commit 6c93ab6

Browse files
committed
Link libwinpthread instead of pthread on Windows
1 parent d511b50 commit 6c93ab6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project('Descale', 'c',
22
default_options: ['buildtype=release', 'b_ndebug=if-release', 'c_std=c99'],
33
meson_version: '>=0.51.0',
4-
version: '4'
4+
version: '5'
55
)
66

77
cc = meson.get_compiler('c')
@@ -19,7 +19,7 @@ deps = []
1919
if host_machine.system() == 'windows'
2020
# Statically link things on Windows.
2121
deps += cc.find_library('m', static: true, required: false)
22-
deps += cc.find_library('pthread', static: true)
22+
deps += cc.find_library('winpthread', static: true)
2323
installdir = join_paths(get_option('libdir'), 'vapoursynth')
2424
else
2525
deps += cc.find_library('m', required: false)

0 commit comments

Comments
 (0)