gtk2: cap MACOSX_DEPLOYMENT_TARGET at 10.16
This commit is contained in:
parent
59579ed4fa
commit
24f13758b9
1 changed files with 4 additions and 0 deletions
|
@ -61,6 +61,10 @@ stdenv.mkDerivation rec {
|
|||
++ optionals cupsSupport [ cups ]
|
||||
++ optionals stdenv.isDarwin [ AppKit Cocoa ];
|
||||
|
||||
preConfigure = if (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11" && stdenv.isDarwin) then ''
|
||||
MACOSX_DEPLOYMENT_TARGET=10.16
|
||||
'' else null;
|
||||
|
||||
configureFlags = [
|
||||
"--with-gdktarget=${gdktarget}"
|
||||
"--with-xinput=yes"
|
||||
|
|
Loading…
Reference in a new issue