[PATCH] fix config.rpath for cygwin/mingw

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Wed Jul 20 11:05:00 GMT 2011
The gettext macros use config.rpath to determine the link library name
of libiconv and libintl (on non-glibc platforms); the import library
suffix is of importance, not the runtime library suffix.  On PE
platforms, these differ, and by using the latter in config.rpath, the
gettext macros think shared import libraries aren't available, and
forces linking with the static library instead.

(FWIW, gettext itself has already been fixed in this regard, but
updating to the latest version of those files is much more invasive.)

The attached patch fixes linking with the shared import libraries.  We
have been using this patch for over a year on i686-pc-cygwin hosted
toolchains (both native- and cross-target).


Yaakov
Cygwin Ports

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-rpath.patch
Type: text/x-patch
Size: 479 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20110720/60c682fd/attachment.bin>


More information about the Binutils mailing list