[C++-sig] Re: boost.Python/Jam with shared libraries

Rene Rivera grafik.list at redshift-software.com
Wed Nov 10 16:21:54 CET 2004


John Meinel wrote:

> I thought that worked for both dynamic and static libraries. The 
> alternative in my mind would be
>   <library-file>$(LIBPDF_PATH)/libpdf.a
> 
> You can either hard code $(LIBPDF_PATH), or what I prefer is to add the 
> line:

You can also use a relative path to it:

	<library-file>../.libs/libpdf.a

> local LIBPDF_PATH = 'path/to/libpdf' ;
>                                     ^---- This space is important
> 
> I'm not sure why the space is required, but without it, you get problems.

Jam uses whitespace to separate all tokens. Hence the first problem 
Aaron had. Where the extra whitespace split what was supposed to be a 
single token.


-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq



More information about the Cplusplus-sig mailing list