From a5c2980859039ac1d97baf9d339dc8160726e874 Mon Sep 17 00:00:00 2001 From: Tommimon <37435103+Tommimon@users.noreply.github.com> Date: Mon, 22 Apr 2024 19:06:16 +0200 Subject: [PATCH] Add pthread dependency --- meson.build | 1 + src/do_unmount/meson.build | 1 + 2 files changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 4e330d33b..b48cad01c 100644 --- a/meson.build +++ b/meson.build @@ -209,6 +209,7 @@ init_d_conf_data.set('SYSCONFDIR', get_option('sysconfdir')) dl_dep = cc.find_library('dl', required: false) util_dep = cc.find_library('util', required: false) +thread_dep = dependency('threads') subdir('bash-completion') subdir('conf.d') diff --git a/src/do_unmount/meson.build b/src/do_unmount/meson.build index 2876008ae..572b3b735 100644 --- a/src/do_unmount/meson.build +++ b/src/do_unmount/meson.build @@ -2,5 +2,6 @@ executable('do_unmount', ['do_unmount.c'], include_directories: [incdir, einfo_incdir, rc_incdir], link_with: [libeinfo, librc], + dependencies: thread_dep, install: true, install_dir: rc_bindir)