Ensure macOS build targets 10.9 SDK.

This commit is contained in:
Jay Dolan 2021-02-13 12:12:30 -05:00
parent ce6af0b465
commit af11890c68
1 changed files with 2 additions and 0 deletions

View File

@ -263,6 +263,8 @@ class Config:
# On Mac, we pad headers so that we may rewrite them for packaging
if ( self.platform == 'Darwin' ) :
env.Append( CFLAGS = [ '-mmacosx-version-min=10.9' ] )
env.Append( CXXFLAGS = [ '-mmacosx-version-min=10.9' ] )
env.Append( LINKFLAGS = [ '-headerpad_max_install_names' ] )
def CheckoutOrUpdate( self, svnurl, path ):