[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] [PATCH] gtk and glib fixes (undefined referen
From: |
Mark Brand |
Subject: |
Re: [Mingw-cross-env-list] [PATCH] gtk and glib fixes (undefined references) |
Date: |
Wed, 29 Sep 2010 11:43:17 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100914 SUSE/3.1.4 Thunderbird/3.1.4 |
Mark, could you add those flags to your *-1-fixes patches, please?
Or is there a better way to include them?
The pc file for gio is already patched like that. That seems to be
enough, or is it?
Martin's patch also added
-lwinspool -lcomctl32 -lcomdlg32
to the "Libs:" section of gtk+-2.0.pc(.in). In contrast, your patch
to gtk+-2.0.pc.in makes the following change:
-Libs: -L${libdir} address@hidden@ @GTK_EXTRA_LIBS@
+Libs: -L${libdir} address@hidden@ @GTK_DEP_LIBS@
Right, but in my follow-up message I mentioned some further work including
http://hg.savannah.gnu.org/hgweb/mingw-cross-env/diff/4cc31fd7b9d5/src/gtk-1-fixes.patch
which adds "-lwinspool -lcomctl32 -lcomdlg32" to gtk+-2.0.pc.in.
(We might be suffering from delayed delivery of messages on this list.)
This leads to three questions:
1) Mark, are the flags "-lwinspool -lcomctl32 -lcomdlg32" already added
via @GTK_DEP_LIBS@ ?
No. See above.
2) Mark, why do you remove "@GTK_EXTRA_LIBS@" from the "Libs:" section?
I didn't think about or question this. This change comes from the
original "sed" patches. Are you thinking that "-lwinspool -lcomctl32
-lcomdlg32" should go in via GTK_EXTRA_LIBS?
3) Martin, did you try to build glib/gtk using the latest development
version? In particular, is glib.mk meanwhile working for you?
If so, does gtk.mk work for you, too?
I'm pretty sure it will work now.
regards,
Mark