aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/sysinfo/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/sysinfo/meson.build')
-rw-r--r--src/modules/sysinfo/meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/modules/sysinfo/meson.build b/src/modules/sysinfo/meson.build
index 7d0523998..ac9dc9820 100644
--- a/src/modules/sysinfo/meson.build
+++ b/src/modules/sysinfo/meson.build
@@ -56,3 +56,14 @@ if get_option(m) == true
)
suid_exes += join_paths(_dir_bin, 'cpuclock_sysfs')
endif
+
+if get_option(m) == true
+ executable('cpuclock_sysctl',
+ 'cpuclock/cpuclock_sysctl.c',
+ c_args : suid_cflags,
+ link_args : suid_ldflags,
+ install_dir : _dir_bin,
+ install : true
+ )
+ suid_exes += join_paths(_dir_bin, 'cpuclock_sysctl')
+endif