Newer versions of meson validate the types of comparisions.
Explicitly convert to strings.
Fixes the following error:
meson.build:1875:70: ERROR: The `==` operator of bool does not accept objects of type int (1)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
link_with : [lib_common,
lib_smartcols],
# requires systemd v240 or newer
- dependencies : [conf.get('HAVE_DECL_SD_DEVICE_NEW_FROM_SYSPATH') == 1 ? lib_systemd : [] ],
+ dependencies : [conf.get('HAVE_DECL_SD_DEVICE_NEW_FROM_SYSPATH').to_string() == '1' ? lib_systemd : [] ],
install_dir : sbindir,
install : opt,
build_by_default : opt)