openbsm: cap MACOSX_DEPLOYMENT_TARGET at 10.16

This commit is contained in:
Andrew Childs 2021-02-25 12:48:59 +09:00
parent ea2e64c5c0
commit c96c85873c

View file

@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
patches = lib.optional stdenv.isDarwin [ ./bsm-add-audit_token_to_pid.patch ];
preConfigure = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") ''
MACOSX_DEPLOYMENT_TARGET=10.16
'';
configureFlags = [ "ac_cv_file__usr_include_mach_audit_triggers_defs=no" ];
meta = {