subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lev Serebryakov <...@FreeBSD.org>
Subject Re: subversion 1.9.2 could not be built "all-static" on FreeBSD 10+
Date Mon, 19 Oct 2015 11:54:40 GMT
On 19.10.2015 14:45, Philip Martin wrote:

>>> Requires.private:
>>> Libs: -L${libdir} -lserf-${SERF_MAJOR_VERSION}
>>> Libs.private: -L/usr/local/lib -R/usr/local/lib -laprutil-1  -ldb-5.3
>> -lgdbm
>>> -lexpat -L/usr/local/lib -R/usr/local/lib -lapr-1 -lcrypt  -lpthread  -lz
>>> -L/usr/lib -lssl -lcrypto
>>> Cflags: -I${includedir}
>>> ]]
>>
>> And now including dev@serf, as I think this should be fixed there:
>>
>> It looks like serf gets these flags from:
>> $ apr-1-config --link-libtool
> 
> I have the same on my FreeBSD box, but Subversion's configure doesn't
> use link-libtool so the -R doesn't propagate into Subversion's Makefile:
> 
>   $ pkgconf serf-1 --cflags
>   -I/usr/local/include/serf-1  
>   $ pkgconf serf-1 --libs-only-l
>   -lserf-1  
>   $ pkgconf serf-1 --libs
>   -L/usr/local/lib -lserf-1  
>   $ apr-1-config --link-libtool
>    -L/usr/local/lib -R/usr/local/lib -lapr-1
 Nope. It will be

pkg-config --static serf-1 --libs

  and it get me this bogus -R flag :(

-- 
// Lev Serebryakov

Mime
View raw message