[C++-sig] Re: boost.build: How to set runtime library paths in a Jamfile (wrapping 3rd party libs)

David Abrahams dave at boost-consulting.com
Thu Mar 11 15:23:05 CET 2004


"Holger Joukl" <Holger.Joukl at LBBW.de> writes:

> Hi,
> sorry if the terminology is wrong/unclear.
> What I meant is the library search path for the runtime linker,
> given to gcc with the -R flag:
> E.g.
>   g++ -o myProg -L /my/strange/dir -R /my/strange/dir -lmyStrangeLib main.o
> funcs.o
>
> Just to get rid of LD_LIBRARY_PATH, I am looking for the Jamfile equivalent
> of
> "-R /my/strange/dir" on the commandline.
> I guess it is possible to make such a search path known in a Jamfile, but I
> didn´t see
> the solution.

I'm afraid I don't know.  I've never heard of the "-R" option before;
Boost.Build uses LD_LIBRARY_PATH to prepare the search path for the
runtime linker.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list