p11-kit: use mesonEmulatorHook for cross compilation
This commit is contained in:
parent
82235cc6e6
commit
64fe5a97f1
|
@ -9,6 +9,7 @@
|
||||||
, docbook-xsl-nons
|
, docbook-xsl-nons
|
||||||
, docbook_xml_dtd_43
|
, docbook_xml_dtd_43
|
||||||
, gettext
|
, gettext
|
||||||
|
, mesonEmulatorHook
|
||||||
, libffi
|
, libffi
|
||||||
, libintl
|
, libintl
|
||||||
}:
|
}:
|
||||||
|
@ -37,6 +38,8 @@ stdenv.mkDerivation rec {
|
||||||
docbook-xsl-nons
|
docbook-xsl-nons
|
||||||
docbook_xml_dtd_43
|
docbook_xml_dtd_43
|
||||||
gettext
|
gettext
|
||||||
|
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
||||||
|
mesonEmulatorHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue