mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
meson: make sure we never actually link to libxenctrl
We don't make use of any of its symbols, we just want the headers, hence make sure we never try to link against it.
This commit is contained in:
committed by
Luca Boccassi
parent
707de94cbf
commit
2bdd7a8ac9
@@ -1203,6 +1203,7 @@ libxenctrl = dependency('xencontrol',
|
||||
version : '>= 4.9',
|
||||
required : get_option('xenctrl'))
|
||||
conf.set10('HAVE_XENCTRL', libxenctrl.found())
|
||||
libxenctrl_cflags = libxenctrl.partial_dependency(includes: true, compile_args: true)
|
||||
|
||||
feature = get_option('pam')
|
||||
libpam = dependency('pam',
|
||||
|
||||
@@ -326,7 +326,7 @@ libshared_deps = [threads,
|
||||
librt,
|
||||
libseccomp,
|
||||
libselinux,
|
||||
libxenctrl,
|
||||
libxenctrl_cflags,
|
||||
libxz,
|
||||
libzstd]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user