1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

meson: Split off udev helper programs array

This commit is contained in:
Bastien Nocera 2020-12-16 18:43:26 +01:00
parent 4dd465cb4e
commit 2f1bcc4d4d

View File

@ -164,7 +164,7 @@ libudevd_core = static_library(
link_with : udev_link_with,
dependencies : [libblkid, libkmod])
foreach prog : [['ata_id/ata_id.c'],
udev_id_progs = [['ata_id/ata_id.c'],
['cdrom_id/cdrom_id.c'],
['fido_id/fido_id.c',
'fido_id/fido_id_desc.c',
@ -179,6 +179,7 @@ foreach prog : [['ata_id/ata_id.c'],
'mtd_probe/mtd_probe.h',
'mtd_probe/probe_smartmedia.c']]
foreach prog : udev_id_progs
executable(prog[0].split('/')[0],
prog,
include_directories : includes,