1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

More dedup

This commit is contained in:
John Ericson 2024-06-27 12:57:32 -04:00
parent d6f57f3260
commit 8198888bc4
4 changed files with 9 additions and 18 deletions

View file

@ -0,0 +1,6 @@
# This is only conditional to work around
# https://github.com/mesonbuild/meson/issues/13293. It should be
# unconditional.
if not (host_machine.system() == 'windows' and cxx.get_id() == 'gcc')
deps_private += dependency('threads')
endif

View file

@ -27,12 +27,7 @@ deps_public_maybe_subproject = [
]
subdir('meson-utils/subprojects')
# This is only conditional to work around
# https://github.com/mesonbuild/meson/issues/13293. It should be
# unconditional.
if not (host_machine.system() == 'windows' and cxx.get_id() == 'gcc')
deps_private += dependency('threads')
endif
subdir('meson-utils/threads')
boost = dependency(
'boost',

View file

@ -67,12 +67,7 @@ has_acl_support = cxx.has_header('sys/xattr.h') \
and cxx.has_function('lremovexattr')
configdata.set('HAVE_ACL_SUPPORT', has_acl_support.to_int())
# This is only conditional to work around
# https://github.com/mesonbuild/meson/issues/13293. It should be
# unconditional.
if not (host_machine.system() == 'windows' and cxx.get_id() == 'gcc')
deps_private += dependency('threads')
endif
subdir('meson-utils/threads')
boost = dependency(
'boost',

View file

@ -48,12 +48,7 @@ foreach funcspec : check_funcs
configdata.set(define_name, define_value)
endforeach
# This is only conditional to work around
# https://github.com/mesonbuild/meson/issues/13293. It should be
# unconditional.
if not (host_machine.system() == 'windows' and cxx.get_id() == 'gcc')
deps_private += dependency('threads')
endif
subdir('meson-utils/threads')
if host_machine.system() == 'windows'
socket = cxx.find_library('ws2_32')