libxml2: cap MACOSX_DEPLOYMENT_TARGET at 10.16
libxml2 is used in bootstrapping, so the alternates solution of running libtoolize is tricky here.
This commit is contained in:
parent
aadc07a3d9
commit
3e47747657
|
@ -3,7 +3,7 @@
|
||||||
, pythonSupport ? enableShared && stdenv.buildPlatform == stdenv.hostPlatform
|
, pythonSupport ? enableShared && stdenv.buildPlatform == stdenv.hostPlatform
|
||||||
, icuSupport ? false, icu ? null
|
, icuSupport ? false, icu ? null
|
||||||
, enableShared ? stdenv.hostPlatform.libc != "msvcrt"
|
, enableShared ? stdenv.hostPlatform.libc != "msvcrt"
|
||||||
, enableStatic ? !enableShared,
|
, enableStatic ? !enableShared
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -53,6 +53,10 @@ stdenv.mkDerivation rec {
|
||||||
(lib.withFeatureAs pythonSupport "python" python)
|
(lib.withFeatureAs pythonSupport "python" python)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preConfigure = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") ''
|
||||||
|
MACOSX_DEPLOYMENT_TARGET=10.16
|
||||||
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# disable test that's problematic with newer pythons: see
|
# disable test that's problematic with newer pythons: see
|
||||||
|
|
Loading…
Reference in New Issue