|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58371 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2009-12-14 01:50:06
Author: vladimir_prus
Date: 2009-12-14 01:50:05 EST (Mon, 14 Dec 2009)
New Revision: 58371
URL: http://svn.boost.org/trac/boost/changeset/58371
Log:
Don't generate empty -F if framework is specified without path.
Patch from Sohail Somani.
Text files modified:
trunk/tools/build/v2/tools/darwin.jam | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
Modified: trunk/tools/build/v2/tools/darwin.jam
==============================================================================
--- trunk/tools/build/v2/tools/darwin.jam (original)
+++ trunk/tools/build/v2/tools/darwin.jam 2009-12-14 01:50:05 EST (Mon, 14 Dec 2009)
@@ -497,12 +497,15 @@
# The -F option specifies the directories where a framework
# is searched for. So, if we find <framework> feature
# with some path, we need to generate property -F option.
- local framework-path = [ on $(target) return $(FRAMEWORK:D) ] ;
+ local framework-paths = [ on $(target) return $(FRAMEWORK:D) ] ;
# Be sure to generate no -F if there's no path.
- if $(framework-path) != ""
+ for local framework-path in $(framework-paths)
{
- FRAMEWORK_PATH on $(target) += -F$(framework-path) ;
+ if $(framework-path) != ""
+ {
+ FRAMEWORK_PATH on $(target) += -F$(framework-path) ;
+ }
}
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk