mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
meson: fix compilation with local binaries
threads_dep is needed for runtest. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -435,6 +435,8 @@ if want_threads == true
|
||||
else
|
||||
want_threads = false
|
||||
endif
|
||||
else
|
||||
threads_dep = dependency('', required: false)
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -759,7 +761,7 @@ foreach check : checks
|
||||
exe = executable(
|
||||
check,
|
||||
files(check + '.c'),
|
||||
dependencies: xml_dep,
|
||||
dependencies: [threads_dep, xml_dep],
|
||||
include_directories: config_dir,
|
||||
)
|
||||
if check != 'testlimits'
|
||||
|
||||
Reference in New Issue
Block a user