[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VPATH/vpath: does it work for -l<libname> prereqs?
From: |
Greg Chicares |
Subject: |
Re: VPATH/vpath: does it work for -l<libname> prereqs? |
Date: |
Tue, 22 Nov 2005 19:10:08 +0000 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
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 .