GNOME Bugzilla – Bug 163913
[CYGWIN] libgdk link failure
Last modified: 2012-03-20 03:50:32 UTC
Due to the logic in gdk/Makefile.am, when linking under Cygwin, both the UNIX and Win32 libtool symbols export options are used. libtool then has a fit (it only handles one or the other, not both). The attached patch rearranges the use of $(LIBTOOL_EXPORT_OPTIONS) so that only one option is used at a time. Regards, Rogr
Created attachment 35934 [details] [review] gtk-2.6.0-gdk-Makefile.diff Rearrange LIBTOOL_EXPORT_OPTIONS use.
Created attachment 35936 [details] [review] gtk-2.6.1-Makefile.diff This libtool problem also applies to gtk/Makefile.am
As the patch actually affects Unix builds (including Cygwin) and not mingw builds at all (LIBTOOL_EXPORT_OPTIONS is empty for mingw builds), could somebody else verify and apply, thanks? Changing component to general.
Please just make sure that the Win32 libtool symbols export options are not used for Cygwin. Gerrit
roger, any news here? is this still an issue for gtk+-2.10?
Andre, I haven't used Cygwin in two years, so I'm afraid I don't know. I no longer have any Windows systems to test on. However, Cygwin now includes libgdk/libgtk as standard, so it may well be fixed, though I don't know if Cygwin has local patches which need merging upstream. I think it's likely this can be closed, but it would need a test build of the vanilla distributed GTK+ tarball to verify that. Regards, Roger
whatever happened there is not long obsolete