On 2005-11-22 18:11 UTC, Matt England wrote:
>
> For example, I have my own $(MY_EXTERNAL_LIBS)/libboost_filesystem.so ,
> but when I add $(MY_EXTERNAL_LIBS) to the VPATH, the aforementioned .so
> file gets replaced by /usr/lib/libboost_filesystem.so in the linker
> command of the rule (which is using $^).

Try something like this

  vpath libboost%.a $(MY_EXTERNAL_LIBS)
  vpath lib%.a      /usr/lib

if you want boost libraries to be found in a special place, and
other libraries in /usr/lib .


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to