aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-07-23 06:27:25 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-07-23 06:27:25 +0000
commit5a01dbc234e1ef4379afd92ab56229a153ba56f5 (patch)
treea377853445d83fb49b42b7183b07e9bb99c35572 /meson.build
parentmeson: bump to 1.23.0 (diff)
parentosc: color reset: read default color from currently active theme (diff)
Merge branch 'master' into releases/1.23
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index b9994c11..8a072dcf 100644
--- a/meson.build
+++ b/meson.build
@@ -25,6 +25,12 @@ if cc.has_function('execvpe',
add_project_arguments('-DEXECVPE', language: 'c')
endif
+if cc.has_function('sigabbrev_np',
+ args: ['-D_GNU_SOURCE'],
+ prefix: '#include <string.h>')
+ add_project_arguments('-DSIGABBREV_NP', language: 'c')
+endif
+
utmp_backend = get_option('utmp-backend')
if utmp_backend == 'auto'
host_os = host_machine.system()