mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
locale: use include directory for libxkbcommon
To support the case the headers are installed at an unusual place.
This commit is contained in:
@@ -1457,6 +1457,7 @@ conf.set10('HAVE_LIBARCHIVE_HARDLINK_IS_SET',
|
||||
libxkbcommon = dependency('xkbcommon',
|
||||
version : '>= 0.3.0',
|
||||
required : get_option('xkbcommon'))
|
||||
libxkbcommon_cflags = libxkbcommon.partial_dependency(includes: true, compile_args: true)
|
||||
conf.set10('HAVE_XKBCOMMON', libxkbcommon.found())
|
||||
|
||||
libpcre2 = dependency('libpcre2-8',
|
||||
|
||||
@@ -19,7 +19,7 @@ localectl_sources = files('localectl.c')
|
||||
if conf.get('HAVE_XKBCOMMON') == 1
|
||||
libxkbcommon_deps = [
|
||||
libdl,
|
||||
libxkbcommon.partial_dependency(compile_args: true),
|
||||
libxkbcommon_cflags,
|
||||
]
|
||||
else
|
||||
libxkbcommon_deps = []
|
||||
|
||||
Reference in New Issue
Block a user