Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2006-09-28 13:20:48


David Abrahams <dave_at_[hidden]> writes:

> "K. Noel Belcourt" <kbelco_at_[hidden]> writes:
>
>> Thanks for following up with this Rene. I was starting to think it
>> was something I'd done.
>
> Noel,
>
> could you try the enclosed patch to tools/build/v2/tools/darwin.jam
> and let me know if it works?

ping?

> Thanks,
>
> --- darwin.jam 16 Sep 2006 12:33:43 -0400 1.22
> +++ darwin.jam 27 Sep 2006 19:27:01 -0400
> @@ -60,12 +60,42 @@
>
> _ = " " ;
>
> +rule link
> +{
> + local
> +}
> +
> +# set up the -F option to include the paths to any frameworks used.
> +local rule prepare-framework-path ( target + )
> +{
> + local framework-path = [ on $(target) return $(FRAMEWORK:D) ] ;
> +
> + if $(framework-path)
> + {
> + FRAMEWORK_PATH on $(target) += -F$(framework-path) ;
> + }
> + else
> + {
> + FRAMEWORK_PATH on $(target) = ;
> + }
> +}
> +
> +rule link
> +{
> + prepare-framework-path $(<) ;
> +}
> +
> actions link bind LIBRARIES
> {
> $(CONFIG_COMMAND) -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) -F$(FRAMEWORK:D) -framework$(_)$(FRAMEWORK:D=) $(OPTIONS) $(USER_OPTIONS)
> $(NEED_STRIP)strip $(NEED_STRIP)"$(<)"
> }
>
> +rule link.dll
> +{
> + prepare-framework-path $(<) ;
> +}
> +
> actions link.dll bind LIBRARIES
> {
> $(CONFIG_COMMAND) -dynamiclib -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) -F$(FRAMEWORK:D) -framework$(_)$(FRAMEWORK:D=) $(OPTIONS) $(USER_OPTIONS)
>
> --
> Dave Abrahams
> Boost Consulting
> www.boost-consulting.com
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost-Build 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