crun: fix compilation with musl

Requires either libargp or argp-standalone.

Signed-off-by: Renato Caldas <renato@calgera.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Renato Caldas 2023-07-06 15:40:47 +01:00 committed by Bruce Ashfield
parent 0cc4d01dcb
commit 7e6f503083

View File

@ -26,12 +26,12 @@ inherit autotools-brokensep pkgconfig features_check
PACKAGECONFIG ??= ""
DEPENDS = "yajl libcap go-md2man-native m4-native"
# TODO: is there a packageconfig to turn this off ?
DEPENDS += "libseccomp"
DEPENDS += "systemd"
DEPENDS += "oci-image-spec oci-runtime-spec"
DEPENDS:append:libc-musl = " argp-standalone"
do_configure:prepend () {
# extracted from autogen.sh in crun source. This avoids