Fix building libxml2 on non-Linux platforms
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user