apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: FW: library versioning name
Date Tue, 17 Sep 2002 08:19:44 GMT
On Tue, Sep 17, 2002 at 07:20:01AM +0100, James Cox wrote:
>...
> > the point is that we still need the -lapr convention to work, to 
> > grab the latest version. Is there any way we can do both?
> > eg, on a linux system:
> > 
> > /usr/lib/libapr-#.so... (specific version)
> > /usr/lib/libapr.so ... (latest)

You should never use -lapr (for, say, the past six months). The corect form
is:

APR_LIBS="`apr-config --link-ld`"

or maybe

APR_LA_LIBS="`apr-config --link-libtool`"


If you want the includes, then:

APR_INCLUDES="`apr-config --includes`"


Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message