mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
meson: exclude pcre2 when dependencies are skipped
This commit is contained in:
parent
003a676161
commit
8739f309f3
|
@ -1497,7 +1497,7 @@ endif
|
|||
conf.set10('HAVE_XKBCOMMON', have)
|
||||
|
||||
want_pcre2 = get_option('pcre2')
|
||||
if want_pcre2 != 'false'
|
||||
if want_pcre2 != 'false' and not skip_deps
|
||||
libpcre2 = dependency('libpcre2-8',
|
||||
required : want_pcre2 == 'true')
|
||||
have = libpcre2.found()
|
||||
|
|
Loading…
Reference in a new issue