mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
meson.build: Don't try to link pthreads on Windows
This commit is contained in:
committed by
mborgerson
parent
454668e5b2
commit
cff4504c73
+7
-1
@@ -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
|
||||
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)
|
||||
winmm = []
|
||||
socket = []
|
||||
|
||||
Reference in New Issue
Block a user