mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-24 09:58:54 +02:00
Merge branch 'backport-4582-windows-typelib-path-glib-2-84' into 'glib-2-84'
Backport !4582 “Windows: fix wrong typelib path” to glib-2-84 See merge request GNOME/glib!4595
This commit is contained in:
@@ -140,8 +140,6 @@ G_DEFINE_TYPE (GIRepository, gi_repository, G_TYPE_OBJECT);
|
||||
|
||||
static HMODULE girepository_dll = NULL;
|
||||
|
||||
#ifdef DLL_EXPORT
|
||||
|
||||
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved);
|
||||
|
||||
BOOL WINAPI
|
||||
@@ -155,7 +153,6 @@ DllMain (HINSTANCE hinstDLL,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#endif /* DLL_EXPORT */
|
||||
#endif /* G_PLATFORM_WIN32 */
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
@@ -27,7 +27,7 @@ test_repository_search_paths_get_expected_libdir_path (void)
|
||||
{
|
||||
#if defined(G_PLATFORM_WIN32)
|
||||
const char *tests_build_dir = g_getenv ("G_TEST_BUILDDIR");
|
||||
char *expected_rel_path = g_build_filename (tests_build_dir, "lib", "girepository-1.0", NULL);
|
||||
char *expected_rel_path = g_build_filename (tests_build_dir, "..", "lib", "girepository-1.0", NULL);
|
||||
#elif defined(__APPLE__)
|
||||
const char *tests_build_dir = g_getenv ("G_TEST_BUILDDIR");
|
||||
char *expected_rel_path = g_build_filename (tests_build_dir, "..", "girepository-1.0", NULL);
|
||||
|
Reference in New Issue
Block a user