diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-03-02 20:30:33 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-03-02 20:30:33 +0000 |
commit | c2d49b8f7e57e5527ec400677164ec0862005fa9 (patch) | |
tree | 4b4480217d0f0c2af55a7a4c2867554580bc5eeb /gmodule | |
parent | 12b78edbacd79fe2b3ffb811e418d8e1dc0fa77a (diff) | |
download | glib-c2d49b8f7e57e5527ec400677164ec0862005fa9.tar.gz |
Use G_MODULE_SUFFIX rather than a hardcoded ".so". (#72803)
Sat Mar 2 14:46:17 2002 Owen Taylor <otaylor@redhat.com>
* gmodule-beos.c (_g_module_build_path) * gmodule-dyld.c (_g_module_build_path)
gmodule-dl.c (_g_module_build_path): Use G_MODULE_SUFFIX rather than
a hardcoded ".so". (#72803)
Diffstat (limited to 'gmodule')
-rw-r--r-- | gmodule/ChangeLog | 6 | ||||
-rw-r--r-- | gmodule/gmodule-beos.c | 4 | ||||
-rw-r--r-- | gmodule/gmodule-dl.c | 4 | ||||
-rw-r--r-- | gmodule/gmodule-dyld.c | 4 |
4 files changed, 12 insertions, 6 deletions
diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog index dbeb5405e..bcc0a7e8f 100644 --- a/gmodule/ChangeLog +++ b/gmodule/ChangeLog @@ -1,3 +1,9 @@ +Sat Mar 2 14:46:17 2002 Owen Taylor <otaylor@redhat.com> + + * gmodule-beos.c (_g_module_build_path) * gmodule-dyld.c (_g_module_build_path) + gmodule-dl.c (_g_module_build_path): Use G_MODULE_SUFFIX rather than + a hardcoded ".so". (#72803) + Sun Feb 17 18:15:22 2002 Owen Taylor <otaylor@redhat.com> * gmodule.c (g_module_open): Fix typo when checking diff --git a/gmodule/gmodule-beos.c b/gmodule/gmodule-beos.c index 64a5396fd..edd6b893f 100644 --- a/gmodule/gmodule-beos.c +++ b/gmodule/gmodule-beos.c @@ -190,10 +190,10 @@ _g_module_build_path (const gchar *directory, if (strncmp (module_name, "lib", 3) == 0) return g_strconcat (directory, "/", module_name, NULL); else - return g_strconcat (directory, "/lib", module_name, ".so", NULL); + return g_strconcat (directory, "/lib", module_name, "." G_MODULE_SUFFIX, NULL); } else if (strncmp (module_name, "lib", 3) == 0) return g_strdup (module_name); else - return g_strconcat ("lib", module_name, ".so", NULL); + return g_strconcat ("lib", module_name, "." G_MODULE_SUFFIX, NULL); } diff --git a/gmodule/gmodule-dl.c b/gmodule/gmodule-dl.c index 3ea449338..28dc8a903 100644 --- a/gmodule/gmodule-dl.c +++ b/gmodule/gmodule-dl.c @@ -154,9 +154,9 @@ _g_module_build_path (const gchar *directory, if (strncmp (module_name, "lib", 3) == 0) return g_strconcat (directory, "/", module_name, NULL); else - return g_strconcat (directory, "/lib", module_name, ".so", NULL); + return g_strconcat (directory, "/lib", module_name, "." G_MODULE_SUFFIX, NULL); } else if (strncmp (module_name, "lib", 3) == 0) return g_strdup (module_name); else - return g_strconcat ("lib", module_name, ".so", NULL); + return g_strconcat ("lib", module_name, "." G_MODULE_SUFFIX, NULL); } diff --git a/gmodule/gmodule-dyld.c b/gmodule/gmodule-dyld.c index fed881172..93bfc7771 100644 --- a/gmodule/gmodule-dyld.c +++ b/gmodule/gmodule-dyld.c @@ -141,10 +141,10 @@ _g_module_build_path (const gchar *directory, if (strncmp (module_name, "lib", 3) == 0) return g_strconcat (directory, "/", module_name, NULL); else - return g_strconcat (directory, "/lib", module_name, ".so", NULL); + return g_strconcat (directory, "/lib", module_name, "." G_MODULE_SUFFIX, NULL); } else if (strncmp (module_name, "lib", 3) == 0) return g_strdup (module_name); else - return g_strconcat ("lib", module_name, ".so", NULL); + return g_strconcat ("lib", module_name, "." G_MODULE_SUFFIX, NULL); } |