Fix issue 2127 (missing FRAMEWORKSFLAGS in applelink.py) by adding them in a couple...
authorgaryo <garyo@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 21 Aug 2008 02:51:33 +0000 (02:51 +0000)
committergaryo <garyo@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 21 Aug 2008 02:51:33 +0000 (02:51 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3287 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Tool/applelink.py

index 750013375b6d76628929647e4bd0e95ce5e5479d..0a7a1854e4697ea6416ece6999ca784f364abfe8 100644 (file)
@@ -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