libxslt: fix cross compilation (#189766)
* libxslt: fix cross compilation The derivation is already prepared to disable python if buildPlatform != targetPlatform. Additionally, the configure of libxslt needs to be told `--without-python` to not look for the python interpreter. Co-authored-by: Christoph Neidahl <christoph.neidahl@gmail.com>
This commit is contained in:
parent
0c42a8d2b0
commit
bc392314c6
@ -50,8 +50,7 @@ stdenv.mkDerivation rec {
|
||||
"--without-debug"
|
||||
"--without-mem-debug"
|
||||
"--without-debugger"
|
||||
] ++ lib.optionals pythonSupport [
|
||||
"--with-python=${python}"
|
||||
(lib.withFeatureAs pythonSupport "python" python)
|
||||
] ++ lib.optionals (!cryptoSupport) [
|
||||
"--without-crypto"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user