summaryrefslogtreecommitdiffstats
path: root/src/libudev/meson.build
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-04-29 06:56:40 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-05-01 08:40:18 +0200
commit4c1b6e699f5729f2f0d713ed233f1f66004998c8 (patch)
treef008220b5df08887d5712cfb0823ea221bfb7151 /src/libudev/meson.build
parentlibsystemd: add missing _public_ attributes (diff)
downloadsystemd-4c1b6e699f5729f2f0d713ed233f1f66004998c8.tar.xz
systemd-4c1b6e699f5729f2f0d713ed233f1f66004998c8.zip
test: also test all _public_ functions are listed in .sym files
Co-authored-by: Frantisek Sumsal <frantisek@sumsal.cz>
Diffstat (limited to 'src/libudev/meson.build')
-rw-r--r--src/libudev/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libudev/meson.build b/src/libudev/meson.build
index 1c349cef6d..3787602a6b 100644
--- a/src/libudev/meson.build
+++ b/src/libudev/meson.build
@@ -15,11 +15,13 @@ libudev_sources = files(
libudev_includes = [includes, include_directories('.')]
+libudev_dir_path = meson.current_source_dir()
+
libudev_sym = files('libudev.sym')
-libudev_sym_path = meson.current_source_dir() / 'libudev.sym'
+libudev_sym_path = libudev_dir_path / 'libudev.sym'
install_headers('libudev.h')
-libudev_h_path = meson.current_source_dir() / 'libudev.h'
+libudev_h_path = libudev_dir_path / 'libudev.h'
libudev_basic = static_library(
'udev-basic',