[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: -lintl in SVN_INTL_LIBS and LIBS

From: Branko Čibej <brane_at_wandisco.com>
Date: Fri, 14 Mar 2014 22:47:28 +0100

On 14.03.2014 12:11, Stefan Sperling wrote:
> On Fri, Mar 14, 2014 at 10:44:27AM +0000, Philip Martin wrote:
>> I still don't understand what is being attempted. SVN_INTL_LIBS is some
>> Windows feature. Why do we need to support it on Unix? Can we just
>> leave it empty? Why put in extra code to move '-lintl' from LIBS to
>> SVN_INTL_LIBS?
> pkg-config needs to provide accurate linker flags to applications
> linking to Subversion. If libsvn_subr requires -lintl to link,
> then -lintl needs to be listed in the pkg-config file for libsvn_subr.
>
> As I understand so far, -lintl is not required on Linux but is
> required on other systems like Mac OS X or *BSD.
>
> The pkg-config generator derives linker flags like -lintl from
> variables like SVN_INTL_LIBS, which are referenced in build.conf.
> E.g. SVN_INTL_LIBS is referenced by the [intl] section in build.conf.

And of course you can't tweak the generator to ignore symbols that are
not expanded, is that what you're saying? :)

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2014-03-14 22:48:05 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.