Opened 5 years ago

Last modified 5 years ago

#13102 new Bugs

Executable not relinking if related static libraries are changed.

Reported by: Uttkarsh Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost 1.63.0 Severity: Problem
Keywords: Cc: uttkarsh.sarraf@…

Description

I am trying to build an executable which depends on static libraries,say a and b. When there are changes in a or b and we try to recompile the executable, it does not gets updated. It just assumes that all targets are built and there are no new changes.

Change History (2)

comment:1 by John Maddock, 5 years ago

Component: Nonebuild
Owner: set to Vladimir Prus

comment:2 by Steven Watanabe, 5 years ago

Are these external libraries like:

lib a b ;
exe test : test.cpp a b ;

If so, that's kind of the expected behavior. Boost.Build just passes -la -lb and doesn't actually try to track down the actual location of the libraries. If you give the exact location with <file>/path/to/a.a, then the dependency should be added.

Note: See TracTickets for help on using tickets.