Permalink
Browse files

Merge pull request #227 from waywardmonkeys/framework-flags

Allow -F/-framework in C-libraries in LID files.
  • Loading branch information...
2 parents 1d5ca63 + 7903f6d commit e055649645e353a21c737d9bbb92a4b049a1cc0b @housel housel committed Jun 11, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 sources/jamfiles/posix-build.jam
@@ -245,12 +245,17 @@ rule DylanLibraryCLibraries image : libraries {
local _dll = [ FDLLName $(image) ] ;
local _exe = [ FEXEName $(image) ] ;
+ # -F and -framework are OS X flags.
for lib in $(libraries) {
switch $(lib) {
case -L* : _clib_$(image[1]:L) += $(lib) ;
LINKLIBS on $(_dll) $(_exe) += $(lib) ;
case -l* : _clib_$(image[1]:L) += $(lib) ;
LINKLIBS on $(_dll) $(_exe) += $(lib) ;
+ case -F* : _clib_$(image[1]:L) += $(lib) ;
+ LINKLIBS on $(_dll) $(_exe) += $(lib) ;
+ case -framework* : _clib_$(image[1]:L) += $(lib) ;
+ LINKLIBS on $(_dll) $(_exe) += $(lib) ;
case *.a : lib = [ FGristFiles $(lib) ] ;
SEARCH on $(lib) = $(SEARCH_SOURCE) ;
Depends $(_dll) : $(lib) ;

0 comments on commit e055649

Please sign in to comment.