Revert "libxml2: add static output"

This reverts commit 1897c352f5 on master.

This is a mass rebuild that should go through staging.
This commit is contained in:
Orivej Desh 2018-06-13 16:07:54 +00:00
parent d707021f23
commit ea69fba953

View File

@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
sha256 = "0ci7is75bwqqw2p32vxvrk6ds51ik7qgx73m920rakv5jlayax0b"; sha256 = "0ci7is75bwqqw2p32vxvrk6ds51ik7qgx73m920rakv5jlayax0b";
}; };
outputs = [ "bin" "dev" "out" "man" "doc" "static" ] outputs = [ "bin" "dev" "out" "man" "doc" ]
++ lib.optional pythonSupport "py"; ++ lib.optional pythonSupport "py";
propagatedBuildOutputs = "out bin" + lib.optionalString pythonSupport " py"; propagatedBuildOutputs = "out bin" + lib.optionalString pythonSupport " py";
@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
configureFlags = configureFlags =
lib.optional pythonSupport "--with-python=${python}" lib.optional pythonSupport "--with-python=${python}"
++ lib.optional icuSupport "--with-icu" ++ lib.optional icuSupport "--with-icu"
++ [ "--exec_prefix=$dev" "--enable-static" ]; ++ [ "--exec_prefix=$dev" ];
enableParallelBuilding = true; enableParallelBuilding = true;
@ -59,11 +59,6 @@ in stdenv.mkDerivation rec {
moveToOutput share/man/man1 "$bin" moveToOutput share/man/man1 "$bin"
''; '';
postInstall = ''
mkdir -p $static/lib
cp .libs/libxml2.a $static/lib/
'';
passthru = { inherit version; pythonSupport = pythonSupport; }; passthru = { inherit version; pythonSupport = pythonSupport; };
meta = { meta = {