1
0
mirror of https://github.com/systemd/systemd synced 2024-07-08 20:15:55 +00: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:
Lennart Poettering 2023-11-02 15:57:34 +01:00 committed by Luca Boccassi
parent 707de94cbf
commit 2bdd7a8ac9
2 changed files with 2 additions and 1 deletions

View File

@ -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',

View File

@ -326,7 +326,7 @@ libshared_deps = [threads,
librt,
libseccomp,
libselinux,
libxenctrl,
libxenctrl_cflags,
libxz,
libzstd]