mirror of https://github.com/xemu-project/xemu.git
meson.build: Don't try to link pthreads on Windows
This commit is contained in:
parent
454668e5b2
commit
cff4504c73
|
@ -388,7 +388,13 @@ have_vhost_net = have_vhost_net_kernel or have_vhost_net_user or have_vhost_net_
|
||||||
|
|
||||||
# Target-specific libraries and flags
|
# Target-specific libraries and flags
|
||||||
libm = cc.find_library('m', required: false)
|
libm = cc.find_library('m', required: false)
|
||||||
threads = dependency('threads')
|
|
||||||
|
if targetos == 'windows'
|
||||||
|
threads = dependency('', required: false)
|
||||||
|
else
|
||||||
|
threads = dependency('threads')
|
||||||
|
endif
|
||||||
|
|
||||||
util = cc.find_library('util', required: false)
|
util = cc.find_library('util', required: false)
|
||||||
winmm = []
|
winmm = []
|
||||||
socket = []
|
socket = []
|
||||||
|
|
Loading…
Reference in New Issue