Fix building libxml2 on non-Linux platforms

This commit is contained in:
Eelco Dolstra
2012-10-16 11:50:35 -04:00
parent dee64b4c2c
commit 36b4ab4163
2 changed files with 39 additions and 0 deletions
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "10ib8bpar2pl68aqksfinvfmqknwnk7i35ibq6yjl8dpb0cxj9dd";
};
patches = [ ./pthread-once-init.patch ];
configureFlags = stdenv.lib.optionalString pythonSupport "--with-python=${python}";
buildInputs = stdenv.lib.optional pythonSupport [ python ];
@@ -20,6 +22,8 @@ stdenv.mkDerivation rec {
passthru = { inherit pythonSupport; };
enableParallelBuilding = true;
meta = {
homepage = http://xmlsoft.org/;
description = "A XML parsing library for C";