mirror of
https://github.com/boostorg/build.git
synced 2026-02-20 02:32:13 +00:00
Fix <framework> with no path.
Patch from Jon Olsson. [SVN r43152]
This commit is contained in:
@@ -171,9 +171,17 @@ _ = " " ;
|
||||
# set up the -F option to include the paths to any frameworks used.
|
||||
local rule prepare-framework-path ( target + )
|
||||
{
|
||||
# The -framework option only takes basename of the framework.
|
||||
# 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) ] ;
|
||||
|
||||
FRAMEWORK_PATH on $(target) += -F$(framework-path) ;
|
||||
|
||||
# Be sure to generate no -F if there's no path.
|
||||
if $(framework-path) != ""
|
||||
{
|
||||
FRAMEWORK_PATH on $(target) += -F$(framework-path) ;
|
||||
}
|
||||
}
|
||||
|
||||
rule link
|
||||
|
||||
Reference in New Issue
Block a user