From ce4fd46656a381bf3d4dca9c2627b700d4a516e3 Mon Sep 17 00:00:00 2001 From: garyo Date: Thu, 21 Aug 2008 02:51:33 +0000 Subject: [PATCH] Fix issue 2127 (missing FRAMEWORKSFLAGS in applelink.py) by adding them in a couple of lines. FRAMEWORKSFLAGS is an older flag set largely superseded by FRAMEWORKPATH and FRAMEWORKS, but still may be used. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3287 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Tool/applelink.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/SCons/Tool/applelink.py b/src/engine/SCons/Tool/applelink.py index 75001337..0a7a1854 100644 --- a/src/engine/SCons/Tool/applelink.py +++ b/src/engine/SCons/Tool/applelink.py @@ -47,9 +47,9 @@ def generate(env): env['FRAMEWORKPATHPREFIX'] = '-F' env['_FRAMEWORKPATH'] = '${_concat(FRAMEWORKPATHPREFIX, FRAMEWORKPATH, "", __env__)}' env['_FRAMEWORKS'] = '${_concat("-framework ", FRAMEWORKS, "", __env__)}' - env['LINKCOM'] = env['LINKCOM'] + ' $_FRAMEWORKPATH $_FRAMEWORKS' + env['LINKCOM'] = env['LINKCOM'] + ' $_FRAMEWORKPATH $_FRAMEWORKS $FRAMEWORKSFLAGS' env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -dynamiclib') - env['SHLINKCOM'] = env['SHLINKCOM'] + ' $_FRAMEWORKPATH $_FRAMEWORKS' + env['SHLINKCOM'] = env['SHLINKCOM'] + ' $_FRAMEWORKPATH $_FRAMEWORKS $FRAMEWORKSFLAGS' # override the default for loadable modules, which are different # on OS X than dynamic shared libs. echoing what XCode does for -- 2.26.2