2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 04:57:52 +00:00

[#3987] Add the POSIX ps check back in meson

This commit is contained in:
William Leuschner 2025-06-25 13:39:37 -04:00
parent 048b1e9b1a
commit 14f188aa0e

View File

@ -607,6 +607,12 @@ else
endif
conf_data.set('PACKAGE_VERSION_TYPE', f'"@package_version_type@"')
# Issue #767 (keactrl doesn't work on Alpine unless you install procps)
ps_p_result = run_command('ps', '-p', '1', check: false)
if ps_p_result.returncode() != 0
error('ps does not support -p. It is likely the BusyBox ps: please install a POSIX-compliant ps (on Alpine, apk add procps)')
endif
#### Compiler
compile_args = []