Follow-up Comment #1, bug #16276 (project make):

Is it possible to create a new special variable, such as LPATH (like VPATH)
or .LIBPATHS (like .LIBPATTERNS), to specify the directories to search for the
system link libraries?

Currently, I'm using vpath, which works fine:

ifeq (x86_64,$(shell uname -i))
  vpath %.so $(wildcard lib/lib*) /lib64 /usr/lib64 /usr/local/lib64
  vpath %.a  $(wildcard lib/lib*) /lib64 /usr/lib64 /usr/local/lib64
else
  vpath %.so $(wildcard lib/lib*)
  vpath %.a  $(wildcard lib/lib*)
endif

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?16276>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to