libxslt: make configureFlags unconditional, re-org to address comment
This commit is contained in:
parent
2b04cddf7e
commit
16b6e5a452
@ -40,15 +40,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ findXMLCatalogs ];
|
propagatedBuildInputs = [ findXMLCatalogs ];
|
||||||
|
|
||||||
# TODO move cryptoSupport as last flag, when upgrading libxslt
|
configureFlags = [
|
||||||
configureFlags = []
|
"--with-libxml-prefix=${libxml2.dev}"
|
||||||
++ 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"
|
||||||
] ++ optional pythonSupport "--with-python=${python2}";
|
] ++ optional pythonSupport "--with-python=${python2}"
|
||||||
|
++ optional (!cryptoSupport) "--without-crypto";
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
moveToOutput bin/xslt-config "$dev"
|
moveToOutput bin/xslt-config "$dev"
|
||||||
|
Loading…
Reference in New Issue
Block a user