Re: gmodule & libtool.
- From: Michael Meeks <michael ximian com>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: gmodule & libtool.
- Date: Sat, 28 Jul 2001 06:46:34 -0400 (EDT)
Hi,
Since no one responded to this, I'd like to propose a patch
instead - this makes things work nicely again:
Index: gmodule/ChangeLog
===================================================================
RCS file: /cvs/gnome/glib/gmodule/ChangeLog,v
retrieving revision 1.59
diff -u -r1.59 ChangeLog
--- gmodule/ChangeLog 2001/07/20 17:01:30 1.59
+++ gmodule/ChangeLog 2001/07/28 10:43:38
@@ -1,3 +1,9 @@
+2001-07-28 Michael Meeks <michael ximian com>
+
+ * gmodule.c (parse_libtool_archive): build the library name
+ ourselfs ... so we can load the library specified and not
+ mangle any name not beggining in 'lib'.
+
2001-07-20 Hans Breuer <hans breuer org>
* makefile.msc.in : reflect glib move
Index: gmodule/gmodule.c
===================================================================
RCS file: /cvs/gnome/glib/gmodule/gmodule.c,v
retrieving revision 1.39
diff -u -r1.39 gmodule.c
--- gmodule/gmodule.c 2001/07/11 20:08:49 1.39
+++ gmodule/gmodule.c 2001/07/28 10:43:38
@@ -265,7 +265,7 @@
lt_libdir = g_strconcat (dir, G_DIR_SEPARATOR_S ".libs", NULL);
}
- name = g_module_build_path (lt_libdir, lt_dlname);
+ name = g_strconcat (lt_libdir, G_DIR_SEPARATOR_S, lt_dlname, NULL);
g_free (lt_dlname);
g_free (lt_libdir);
The libtool people spend a lot of time getting the name right -
there should be no need for us to mangle it.
May I commit ?
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]