summaryrefslogtreecommitdiff
path: root/gmodule
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2001-07-30 08:52:20 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2001-07-30 08:52:20 +0000
commita3ad2d57740951a21dd2fa3ff1aaa34c9eddec60 (patch)
treebf2ae742fee3ce8ad052b8dd5ec7705b3c0df9f3 /gmodule
parente669b218a12dda02c9cb61517aa472b7fbd3f43b (diff)
downloadglib-a3ad2d57740951a21dd2fa3ff1aaa34c9eddec60.tar.gz
glib-a3ad2d57740951a21dd2fa3ff1aaa34c9eddec60.tar.bz2
glib-a3ad2d57740951a21dd2fa3ff1aaa34c9eddec60.zip
build the library name ourselfs ... so we can load the library specified
2001-07-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gmodule/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'. Patch from Michael Meeks <michael@ximian.com>.
Diffstat (limited to 'gmodule')
-rw-r--r--gmodule/gmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c
index a6b179a02..62f7b8f0a 100644
--- a/gmodule/gmodule.c
+++ b/gmodule/gmodule.c
@@ -265,7 +265,7 @@ parse_libtool_archive (const gchar* libtool_name)
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);