mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
kdrive: xephyr: link pthread on mingw for nanosleep()
For strange reaons, nanosleep() is in libpthread on mingw platform, so we have to link it here. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
5102b5d9e9
commit
66e8a5aff3
@@ -37,6 +37,11 @@ if build_xv
|
||||
xephyr_dep += dependency('xcb-xv')
|
||||
endif
|
||||
|
||||
# mingw needs this for nanosleep()
|
||||
if host_machine.system() == 'windows'
|
||||
xephyr_dep += cc.find_library('pthread', required : true, static: true)
|
||||
endif
|
||||
|
||||
xephyr_server = executable(
|
||||
'Xephyr',
|
||||
srcs,
|
||||
|
||||
Reference in New Issue
Block a user