mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 13:22:11 +00:00
Don't generate empty -F if framework is specified without path.
Patch from Sohail Somani. [SVN r58371]
This commit is contained in:
@@ -497,12 +497,15 @@ local rule prepare-framework-path ( target + )
|
||||
# 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) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user