[mingw-gtk2] Fix linking against modern glib2
epienbro
epienbro at fedoraproject.org
Fri Mar 9 20:39:21 UTC 2012
commit af36c86c784f7811c86dba29ed2075538c4c3d1f
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Fri Mar 9 21:39:03 2012 +0100
Fix linking against modern glib2
gtk2-fix-gmodule-linking.patch | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/gtk2-fix-gmodule-linking.patch b/gtk2-fix-gmodule-linking.patch
new file mode 100644
index 0000000..b824df0
--- /dev/null
+++ b/gtk2-fix-gmodule-linking.patch
@@ -0,0 +1,18 @@
+--- gtk/Makefile.am.orig 2012-03-09 21:30:45.576811007 +0100
++++ gtk/Makefile.am 2012-03-09 21:31:34.518967507 +0100
+@@ -51,6 +51,7 @@
+ -DGTK_DISABLE_DEPRECATED \
+ -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED \
+ -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
++ $(GMODULE_CFLAGS) \
+ $(GTK_DEBUG_FLAGS) \
+ $(GTK_DEP_CFLAGS) \
+ $(INCLUDED_IMMODULE_DEFINE)
+@@ -120,6 +121,7 @@
+ libgtkincludedir = $(includedir)/gtk-2.0/gtk
+ libadd = \
+ $(top_builddir)/gdk/$(gdktargetlib) \
++ $(GMODULE_LIBS) \
+ $(GTK_DEP_LIBS)
+ deps =
+
More information about the scm-commits
mailing list