aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 7c714ddf..cb5d4741 100644
--- a/meson.build
+++ b/meson.build
@@ -16,6 +16,11 @@ if cc.has_function('memfd_create')
add_project_arguments('-DMEMFD_CREATE', language: 'c')
endif
+# Missing on DragonFly, FreeBSD < 14.1
+if cc.has_function('execvpe')
+ add_project_arguments('-DEXECVPE', language: 'c')
+endif
+
utmp_backend = get_option('utmp-backend')
if utmp_backend == 'auto'
host_os = host_machine.system()