summaryrefslogtreecommitdiff
path: root/girepository
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2011-01-19 16:48:47 +0100
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2011-01-21 10:48:56 +0100
commite9f99291c9cb11645128dff4292f9a0c6af86d96 (patch)
tree9e32281809aafb265a69c034ce3ebf9628f08675 /girepository
parent751a9fa80a31c01cd26ff35f0e66f428372ea88b (diff)
downloadgobject-introspection-e9f99291c9cb11645128dff4292f9a0c6af86d96.tar.gz
Pass shared-library as-is to g_module_open
Because it already has the lib prefix and the .so postfix https://bugzilla.gnome.org/show_bug.cgi?id=639961
Diffstat (limited to 'girepository')
-rw-r--r--girepository/gitypelib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/girepository/gitypelib.c b/girepository/gitypelib.c
index 90f2c1bb..3ecfb16b 100644
--- a/girepository/gitypelib.c
+++ b/girepository/gitypelib.c
@@ -2129,10 +2129,6 @@ _g_typelib_do_dlopen (GITypelib *typelib)
{
GString *shlib_full = g_string_new (shlibs[i]);
- /* Prefix with "lib", try both .la and .so */
- if (!g_str_has_prefix (shlib_full->str, "lib"))
- g_string_prepend (shlib_full, "lib");
- g_string_append (shlib_full, ".la");
module = g_module_open (shlib_full->str, G_MODULE_BIND_LAZY);
if (module == NULL)
{