forked from pool/systemd
42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
|
From 1cbe23da27e68bd3c7ca2a2fe6007d9a53533de9 Mon Sep 17 00:00:00 2001
|
||
|
From: Franck Bui <fbui@suse.com>
|
||
|
Date: Fri, 2 Feb 2018 17:58:19 +0100
|
||
|
Subject: [PATCH 1/1] compat-rules: make path_id_compat build with meson
|
||
|
|
||
|
---
|
||
|
src/udev/compat/meson.build | 11 +++++++++++
|
||
|
src/udev/meson.build | 2 ++
|
||
|
2 files changed, 13 insertions(+)
|
||
|
create mode 100644 src/udev/compat/meson.build
|
||
|
|
||
|
diff --git a/src/udev/compat/meson.build b/src/udev/compat/meson.build
|
||
|
new file mode 100644
|
||
|
index 000000000..0d77da2e1
|
||
|
--- /dev/null
|
||
|
+++ b/src/udev/compat/meson.build
|
||
|
@@ -0,0 +1,11 @@
|
||
|
+foreach prog : ['path_id_compat.c']
|
||
|
+
|
||
|
+ executable(prog.split('.')[0],
|
||
|
+ prog,
|
||
|
+ include_directories : includes,
|
||
|
+ c_args : ['-DLOG_REALM=LOG_REALM_UDEV'],
|
||
|
+ link_with : [libudev_internal],
|
||
|
+ install_rpath : udev_rpath,
|
||
|
+ install : true,
|
||
|
+ install_dir : udevlibexecdir)
|
||
|
+endforeach
|
||
|
diff --git a/src/udev/meson.build b/src/udev/meson.build
|
||
|
index 13cd26bb8..4aa431ecc 100644
|
||
|
--- a/src/udev/meson.build
|
||
|
+++ b/src/udev/meson.build
|
||
|
@@ -151,3 +151,5 @@ install_data(udev_pc,
|
||
|
|
||
|
meson.add_install_script('sh', '-c',
|
||
|
mkdir_p.format(join_paths(sysconfdir, 'udev/rules.d')))
|
||
|
+
|
||
|
+subdir('compat')
|
||
|
--
|
||
|
2.15.1
|
||
|
|