You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Branko Čibej <br...@wandisco.com> on 2014/03/13 17:33:22 UTC

Re: -lintl in SVN_INTL_LIBS and LIBS

On 13.03.2014 17:22, Stefan Sperling wrote:
> On Thu, Mar 13, 2014 at 04:16:17PM -0000, stsp@apache.org wrote:
>> Author: stsp
>> Date: Thu Mar 13 16:16:16 2014
>> New Revision: 1577223
>>
>> URL: http://svn.apache.org/r1577223
>> Log:
>> Add libintl link flags to SVN_INTL_LIBS on *nix builds.
>>
>> The SVN_INTL_LIBS variable was referred to but never defined.
>>
>> * Makefile.in: Define SVN_INTL_LIBS.
>>
>> * configure.ac: Set SVN_INTL_LIBS to the linker flags required
>>    to link to libintl and export the value of SVN_INTL_LIBS
>>    to the Makefile.
> A side-effect of this change is that -lintl now appears in
> both SVN_INTL_LIBS and LIBS. It is in LIBS because AC_SEARCH_LIBS
> insits on putting it there.
>
> Do we care enough to somehow work around that? Or do we just live
> with potential redundant -lintl linker flags?

We should try to reset LIBS during AC_SEARCH_LIBS for gettext & co.
IIRC, we do something similar for SQLite.

-- Brane


-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane@wandisco.com