This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Does libXpm-noX depend on libintl, libiconv?
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: cygwin at cygwin dot com
- Date: Fri, 20 Mar 2009 08:47:52 -0400
- Subject: Re: Does libXpm-noX depend on libintl, libiconv?
- References: <loom.20090320T085453-870@post.gmane.org>
Victor Paesa wrote:
> The Xpm-noX library seems to depend on libintl, libiconv:
>
> $ grep ^dependency_libs /usr/lib/noX/libXpm-noX.la
> dependency_libs=' -lgdi32 -luser32 /usr/lib/libintl.la -L/usr/lib
> /usr/lib/libiconv.la'
...
> I believe libXpm-noX does not really depend on libintl, libiconv, is that right?
The cxpm-noX.exe program, which ships as part of the "libXpm-noX"
package, depends on libintl and libiconv. However, the cygXpm-noX-4.dll
DLL, which ships as part of the "libXpm-noX4" package (note the trailing
'4' in the package name) does not.
However, the build system's machinery doesn't know the difference -- and
blindly adds libintl.la and libiconv.la to dependency_libs, even though
the DLL itself doesn't actually use any symbols from those two libraries.
To fix this, I think I'll need to post-process the .la file to remove
the unnecessary dependencies, so I'll spin a new release of these
packages as soon as I can. (Also, I see that the .hint file for the
"libXpm-noX" package indicates only that it depends on "libXpm-noX4" --
it should also indicated dependency on libintl8 and libiconv2.
Thanks for the report.
--
Chuck
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/