[glib/wip/nacho/giomodules: 2/2] Use bin/gio/modules when building with visual studio
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/nacho/giomodules: 2/2] Use bin/gio/modules when building with visual studio
- Date: Thu, 22 Oct 2015 06:38:22 +0000 (UTC)
commit b02ebeb21224cbcd5734fa524109a4d4ec010082
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Oct 22 08:19:19 2015 +0200
Use bin/gio/modules when building with visual studio
gio/giomodule.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gio/giomodule.c b/gio/giomodule.c
index 3fdde19..85889f7 100644
--- a/gio/giomodule.c
+++ b/gio/giomodule.c
@@ -1020,9 +1020,15 @@ get_gio_module_dir (void)
gchar *install_dir;
install_dir = g_win32_get_package_installation_directory_of_module (gio_dll);
+#ifdef _MSC_VER
+ 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 = GIO_MODULE_DIR;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]