Ticket #4242: bjam_osx_framework.diff

File bjam_osx_framework.diff, 864 bytes (added by Sohail Somani, 12 years ago)
  • vendor/boost/tools/build/v2/tools/darwin.jam

    diff -r 4b7e3d45ba4a vendor/boost/tools/build/v2/tools/darwin.jam
    a b  
    468468    # The -F option specifies the directories where a framework
    469469    # is searched for.  So, if we find <framework> feature
    470470    # with some path, we need to generate property -F option.
    471     local framework-path = [ on $(target) return $(FRAMEWORK:D) ] ;
     471    local framework-paths = [ on $(target) return $(FRAMEWORK:D) ] ;
    472472
    473473    # Be sure to generate no -F if there's no path.
     474    for local framework-path in $(framework-paths)
     475    {
    474476    if $(framework-path) != ""
    475477    {
    476478        FRAMEWORK_PATH on $(target) += -F$(framework-path) ;
    477479    }
    478480}
     481}
    479482
    480483rule link ( targets * : sources * : properties * )
    481484{