[openbeos] jam issues

  • From: Gabe Yoder <gyoder@xxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 5 Jul 2004 21:01:20 -0400

Okay, this should be a pretty easy question for our jam gurus.  I have a 
directory where the stuff that I build needs to link in a static library 
produced in a neighboring directory.  The static library is built using the 
StaticLibrary rule, and I try to link using a rule like
LinkStaticOSLib foo : libbar.a ;
(I am writing this from memory, so I might be a little off).

When I build, gcc complains that it can't find libbar.a.  I checked in the 
objects directory and traverse down the tree to find that libbar.a exists in 
the directory corresponding to its source directory.  I then tried 
specifying ../bar/libbar.a instead of just libbar.a, and that didn't work 
either.  Clearly, I need to do something so that it knows where to get the 
library.  How can I get it to link in my library?


Gabe

Other related posts: