sys-auth/realmd: Fix cross-compiling by pointing to krb5-config location

pkg-config is usually preferable, but this simpler approach works here
because krb5-config is a shell script and the headers and libraries are
in standard paths.

It was previously relying on a wrapper we were creating. It still works
without that, but only because krb5-config also exists on the host, and
we shouldn't assume that.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2024-08-06 17:26:34 +01:00
parent a9bd6807cd
commit 18c972f61a
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137

View File

@ -54,6 +54,7 @@ src_configure() {
--with-distro=defaults
--disable-doc
--disable-nls
KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config
)
econf "${myconf[@]}"
}