Hassan Mehmet wrote:
> Hi
>
> I'm not sure if this is the expected behaviour but
should a program that's
> dependent on an installed library relink when the
installed library has
> been updated.
>
> To explain I modified "example/libraries"
>
> ./Jamroot
> ---------
> use-project /library-example/foo : util/foo ;
>
> build-project app ;
>
> lib instbar : : <name>bar <search>install
;
>
>
> util/foo/Jamfile
> ----------------
> project
> : usage-requirements <include>include ;
>
> lib bar : bar.cpp ;
>
> install install : bar : <location>../../install
;
>
>
> app/Jamfile
> -----------
> exe app : app.cpp ..//instbar :
<include>../util/foo/include ;
'instbar' here refers to:
lib instbar : : <name>bar
<search>install ;
which definition say 'ask the linker to search for library
bar
in directory install'. However, Boost.Build has no idea how
the linker actually does it -- the linker can find this
library
in some "standard" directory, for example.
Therefore, it's not
possible to establish dependency on instbar.
Referring to 'util/foo//install' should work better.
- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|