meson: add the 221 version to the libsystemd dependency

The sd-bus interface we're using wasn't public until 221.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-02-21 13:56:08 +10:00
parent 01a633b6eb
commit 8353eeb5a8

View file

@ -523,7 +523,7 @@ if get_option('tests')
config_h.set10('HAVE_LIBUNWIND', dep_libunwind.found()) config_h.set10('HAVE_LIBUNWIND', dep_libunwind.found())
# for inhibit support during test run # for inhibit support during test run
dep_libsystemd = dependency('libsystemd', required : false) dep_libsystemd = dependency('libsystemd', version : '>= 221', required : false)
config_h.set10('HAVE_LIBSYSTEMD', dep_libsystemd.found()) config_h.set10('HAVE_LIBSYSTEMD', dep_libsystemd.found())
lib_litest_sources = [ lib_litest_sources = [