openldap: cap MACOSX_DEPLOYMENT_TARGET at 10.16
This commit is contained in:
parent
c96c85873c
commit
e00c4cdc0a
|
@ -30,6 +30,10 @@ stdenv.mkDerivation rec {
|
||||||
"CC=${stdenv.cc.targetPrefix}cc"
|
"CC=${stdenv.cc.targetPrefix}cc"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preConfigure = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") ''
|
||||||
|
MACOSX_DEPLOYMENT_TARGET=10.16
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-overlays"
|
"--enable-overlays"
|
||||||
"--disable-dependency-tracking" # speeds up one-time build
|
"--disable-dependency-tracking" # speeds up one-time build
|
||||||
|
|
Loading…
Reference in New Issue