diff options
author | Jesse Chappell <jesse@essej.net> | 2008-07-30 01:33:15 +0000 |
---|---|---|
committer | Jesse Chappell <jesse@essej.net> | 2008-07-30 01:33:15 +0000 |
commit | e5462924682818a332f67604c447228b1bf88d43 (patch) | |
tree | 4e355921c13b6d34ac046db2ced657069fd1865c /SConstruct | |
parent | 5923351097a5ba46a43e9eeb716c207be3565511 (diff) |
committed build changes needed for leopard build
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3650 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 3f901297b6..169742e7a8 100644 --- a/SConstruct +++ b/SConstruct @@ -765,6 +765,13 @@ if env['DIST_TARGET'] in ['panther', 'tiger', 'leopard' ]: # force tiger or later, to avoid issues on PPC which defaults # back to 10.1 if we don't tell it otherwise. env.Append (CCFLAGS="-DMAC_OS_X_VERSION_MIN_REQUIRED=1040") + + if env['DIST_TARGET'] == 'leopard': + # need this to really build against the 10.4 SDK when building on leopard + # ideally this would be configurable, but lets just do that later when we need it + env.Append(CCFLAGS="-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk") + env.Append(LINKFLAGS="-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk") + else: env['IS_OSX'] = 0 |