libxslt: Explicitly specify libxml prefix
Otherwise configure seems not to find xml2-config while cross-compiling.
This commit is contained in:
parent
0235539dfe
commit
6719bf5a74
|
@ -41,7 +41,10 @@ stdenv.mkDerivation rec {
|
||||||
propagatedBuildInputs = [ findXMLCatalogs ];
|
propagatedBuildInputs = [ findXMLCatalogs ];
|
||||||
|
|
||||||
# TODO move cryptoSupport as last flag, when upgrading libxslt
|
# TODO move cryptoSupport as last flag, when upgrading libxslt
|
||||||
configureFlags = optional (!cryptoSupport) "--without-crypto" ++ [
|
configureFlags = []
|
||||||
|
++ optional (buildPlatform != hostPlatform) "--with-libxml-prefix=${libxml2.dev}"
|
||||||
|
++ optional (!cryptoSupport) "--without-crypto"
|
||||||
|
++ [
|
||||||
"--without-debug"
|
"--without-debug"
|
||||||
"--without-mem-debug"
|
"--without-mem-debug"
|
||||||
"--without-debugger"
|
"--without-debugger"
|
||||||
|
|
Loading…
Reference in New Issue