| --- ./gplugin/gplugin-manager.c.orig 2015-05-10 20:02:00.022359200 +0200 |
| +++ ./gplugin/gplugin-manager.c 2015-05-10 20:02:12.100326200 +0200 |
| @@ -1119,7 +1119,11 @@ |
| gplugin_manager_add_default_paths(void) { |
| gchar *path; |
| |
| - path = g_build_filename(PREFIX, LIBDIR, "gplugin", NULL); |
| + gchar *dir; |
| + |
| + dir = g_win32_get_package_installation_directory_of_module (NULL); |
| + path = g_build_filename(dir, "lib", "gplugin", NULL); |
| + g_free (dir); |
| gplugin_manager_prepend_path(path); |
| g_free(path); |
| |
| @@ -1146,7 +1146,11 @@ |
| |
| g_return_if_fail(appname != NULL); |
| |
| - path = g_build_filename(prefix, LIBDIR, appname, NULL); |
| + gchar *dir; |
| + |
| + dir = g_win32_get_package_installation_directory_of_module (NULL); |
| + path = g_build_filename(dir, "lib", appname, NULL); |
| + g_free (dir); |
| gplugin_manager_prepend_path(path); |
| g_free(path); |
| |