pkgsStatic.libxslt: fix build

Make default value of "pythonSupport" to depend configuration of libxml2, which
only builds python support when shared libraries are enabled. This way libxslt
can be built on pkgsStatic platform (albeit without python support) instead of
refusing to build due "meta.broken". That allows to build statically some
packages that depend on libxslt, but don't necessary need python support.
This commit is contained in:
Dmitry Bogatov 2022-11-06 14:23:22 -05:00
parent 3bacde6273
commit 0d3428cd75

View File

@ -11,7 +11,7 @@
, libxcrypt
, libgcrypt
, cryptoSupport ? false
, pythonSupport ? true
, pythonSupport ? libxml2.pythonSupport
, gnome
}: