Commit 98b29f6d authored by Max Kellermann's avatar Max Kellermann

meson.build: remove the libwinpthread-1.dll dependency on Windows

parent 59fdfd25
...@@ -7,6 +7,8 @@ ver 0.21.6 (not yet released) ...@@ -7,6 +7,8 @@ ver 0.21.6 (not yet released)
* playlist * playlist
- flac: fix use-after-free bug - flac: fix use-after-free bug
* support abstract sockets on Linux * support abstract sockets on Linux
* Windows
- remove the unused libwinpthread-1.dll dependency
ver 0.21.5 (2019/02/22) ver 0.21.5 (2019/02/22)
* protocol * protocol
......
threads_dep = dependency('threads') if is_windows
# avoid the unused libwinpthread-1.dll dependency on Windows; MPD
# doesn't use the pthread API on Windows, but this is what Meson
# unhelpfully detects for us
threads_dep = []
else
threads_dep = dependency('threads')
endif
conf.set('HAVE_PTHREAD_SETNAME_NP', compiler.has_function('pthread_setname_np', dependencies: threads_dep)) conf.set('HAVE_PTHREAD_SETNAME_NP', compiler.has_function('pthread_setname_np', dependencies: threads_dep))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment