bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] gettext: -lintl if necessary


From: Bruno Haible
Subject: Re: [bug-gnulib] gettext: -lintl if necessary
Date: Fri, 16 Jun 2006 18:40:37 +0200
User-agent: KMail/1.9.1

Simon Josefsson wrote:
> (Sorry if this is a dupe, didn't see it delivered.)
> 
> The gettext module brings in the proper -I's to make gettext calls
> work, but doesn't bring in the library.

This is normal. We specify the needed libraries for each program and
for each shared library separately. So that, for example, in coreutils
only those programs are linked to librt and libpthread that need it;
only those programs are linked to libm that need it; etc. - although
these needs arise through gnulib modules.

> On mingw, it isn't sufficient to add -lintl when I use the gnulib
> library, it has to be specified when the gnulib library is linked.

Huh? Linking a static library doesn't need any -l flags. Are you
creating a shared library from gnulib parts?

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]