[Gtk-sharp-list] short patch for gtk-sharp

Peter Williams peter@newton.cx
29 Dec 2002 17:18:32 -0500


--=-5Ys/o/1vVsTW2CoN2xpe
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi everyone,

	This patch adds a LIBADD line to the Makefile.am for
libgtksharpglue.la. I was fooling around with the debugger and noticed
that it was getting undefined symbols when trying to debug a program
that used gtk-sharp, and this fixes that.

	(I'm not subscribed so please CC me on any replies.)

	Thanks,
		Peter

-- 
Peter Williams     peter@newton.cx / peterw@ximian.com

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power

--=-5Ys/o/1vVsTW2CoN2xpe
Content-Disposition: attachment; filename=libadd.diff
Content-Type: text/x-patch; name=libadd.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Index: ChangeLog
===================================================================
RCS file: /cvs/public/gtk-sharp/ChangeLog,v
retrieving revision 1.281
diff -u -r1.281 ChangeLog
--- ChangeLog	25 Dec 2002 00:35:59 -0000	1.281
+++ ChangeLog	26 Dec 2002 00:26:12 -0000
@@ -1,3 +1,9 @@
+2002-12-25  Peter Williams  <peterw@ximian.com>
+
+	* glue/Makefile.am (libgtksharpglue_la_LIBADD): Set this so
+	that people linking to libgtksharpglue.so get their
+	dependencies.
+
 2002-12-24  Mike Kestner  <mkestner@speakeasy.net>
 
 	* generator/ObjectGen.cs : generate protected GType ctors
Index: glue/Makefile.am
===================================================================
RCS file: /cvs/public/gtk-sharp/glue/Makefile.am,v
retrieving revision 1.24
diff -u -r1.24 Makefile.am
--- glue/Makefile.am	22 Dec 2002 05:08:51 -0000	1.24
+++ glue/Makefile.am	26 Dec 2002 00:26:12 -0000
@@ -61,6 +61,10 @@
 
 endif
 
+LIBGNOMEDB_DEPENDENCIES_LIBS = @LIBGNOMEDB_DEPENDENCIES_LIBS@
+
+libgtksharpglue_la_LIBADD = $(LIBGNOMEDB_DEPENDENCIES_LIBS)
+
 INCLUDES = @BASE_DEPENDENCIES_CFLAGS@ -I$(top_srcdir)
 
 

--=-5Ys/o/1vVsTW2CoN2xpe--