[glib: 1/2] giomodule: gio modules are no longer installed in bindir on MSVC



commit 5f0d0efeb6e954d50a67044ee0195153fc24e1a5
Author: Nirbheek Chauhan <nirbheek centricular com>
Date:   Tue Nov 26 23:45:19 2019 +0530

    giomodule: gio modules are no longer installed in bindir on MSVC
    
    Ever since the port to Meson, gio modules (f.ex., by glib-networking)
    are installed inside libdir both for MinGW and MSVC.

 gio/giomodule.c | 9 ---------
 1 file changed, 9 deletions(-)
---
diff --git a/gio/giomodule.c b/gio/giomodule.c
index 1007abdbf..3de4f2f2a 100644
--- a/gio/giomodule.c
+++ b/gio/giomodule.c
@@ -1144,18 +1144,9 @@ get_gio_module_dir (void)
       gchar *install_dir;
 
       install_dir = g_win32_get_package_installation_directory_of_module (gio_dll);
-#ifdef _MSC_VER
-      /* On Visual Studio builds we have all the libraries and binaries in bin
-       * so better load the gio modules from bin instead of lib
-       */
-      module_dir = g_build_filename (install_dir,
-                                     "bin", "gio", "modules",
-                                     NULL);
-#else
       module_dir = g_build_filename (install_dir,
                                      "lib", "gio", "modules",
                                      NULL);
-#endif
       g_free (install_dir);
 #else
       module_dir = g_strdup (GIO_MODULE_DIR);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]