[gedit] win32: fix the gedit .dll name to match the library produced with meson
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] win32: fix the gedit .dll name to match the library produced with meson
- Date: Sat, 15 Jun 2019 07:18:52 +0000 (UTC)
commit 858aafb2d7aac5302d7dcc66f1c2add32ebdfdb4
Author: Christoph Reiter <reiter christoph gmail com>
Date: Wed Jun 12 18:22:55 2019 +0200
win32: fix the gedit .dll name to match the library produced with meson
The naming changed from libgedit.dll to libgedit-3.14.dll with the move to meson.
Instead of hardcoding it use the right macro from config.h.
gedit/gedit.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit.c b/gedit/gedit.c
index 42c37412e..caa95505a 100644
--- a/gedit/gedit.c
+++ b/gedit/gedit.c
@@ -65,7 +65,7 @@ gedit_w32_load_private_dll (void)
* But since we only have one library, and its name is known, may as well
* use gmodule.
*/
- dllpath = g_build_filename (prefix, "lib", "gedit", "libgedit.dll", NULL);
+ dllpath = g_build_filename (prefix, "lib", "gedit", "lib" PACKAGE_STRING ".dll", NULL);
g_free (prefix);
libgedit_dll = g_module_open (dllpath, 0);
@@ -80,10 +80,10 @@ gedit_w32_load_private_dll (void)
if (libgedit_dll == NULL)
{
- libgedit_dll = g_module_open ("libgedit.dll", 0);
+ libgedit_dll = g_module_open ("lib" PACKAGE_STRING ".dll", 0);
if (libgedit_dll == NULL)
{
- g_printerr ("Failed to load 'libgedit.dll': %s\n",
+ g_printerr ("Failed to load 'lib" PACKAGE_STRING ".dll': %s\n",
g_module_error ());
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]