Merge pull request #190379 from SuperSandro2000/libvirt

libvirt: fix cross compile
This commit is contained in:
Franz Pletz 2022-09-12 03:54:42 +02:00 committed by GitHub
commit 88199c6df9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,14 +147,20 @@ stdenv.mkDerivation rec {
sed -i '/virnetdaemontest/d' tests/meson.build sed -i '/virnetdaemontest/d' tests/meson.build
''; '';
strictDeps = true;
nativeBuildInputs = [ nativeBuildInputs = [
meson meson # needs to be first
cmake cmake
docutils docutils
libxml2 # for xmllint
libxslt # for xsltproc
makeWrapper makeWrapper
ninja ninja
perl
pkg-config pkg-config
util-linux # for mount
] ]
++ optional (!isDarwin) rpcsvc-proto ++ optional (!isDarwin) rpcsvc-proto
# NOTE: needed for rpcgen # NOTE: needed for rpcgen
@ -171,8 +177,6 @@ stdenv.mkDerivation rec {
libpcap libpcap
libtasn1 libtasn1
libxml2 libxml2
libxslt
perl
perlPackages.XMLXPath perlPackages.XMLXPath
pkg-config pkg-config
python3 python3