1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-10 01:17:44 +03:00

meson: use files() for libudevd_core_sources too

I'm not sure why a plain-text list was used in this case.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-03-02 14:52:50 +01:00
parent f1b98127ff
commit b9acb5074e

View File

@ -15,7 +15,7 @@ udevadm_sources = files(
'udevadm-util.h',
'udevd.c')
libudevd_core_sources = [
libudevd_core_sources = files(
'udev-ctrl.c',
'udev-ctrl.h',
'udev-event.c',
@ -39,18 +39,18 @@ libudevd_core_sources = [
'udev-netlink.c',
'udev-netlink.h',
'net/link-config.c',
'net/link-config.h']
'net/link-config.h')
if conf.get('HAVE_KMOD') == 1
libudevd_core_sources += ['udev-builtin-kmod.c']
libudevd_core_sources += files('udev-builtin-kmod.c')
endif
if conf.get('HAVE_BLKID') == 1
libudevd_core_sources += ['udev-builtin-blkid.c']
libudevd_core_sources += files('udev-builtin-blkid.c')
endif
if conf.get('HAVE_ACL') == 1
libudevd_core_sources += ['udev-builtin-uaccess.c']
libudevd_core_sources += files('udev-builtin-uaccess.c')
endif
############################################################