From 2c7a6de280f24989388c0eb7e772fcbb9010a466 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 17 Jul 2024 16:25:43 +0800 Subject: [PATCH] introspection: Correct GIO-Windows pkg-config name It's gio-windows-2.0.pc, not gio-win32-2.0.pc. Otherwise, we get warnings/errors where the package cannot be located but since we are linking to the same GIO library file, this did not manifest itself. --- girepository/introspection/meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/girepository/introspection/meson.build b/girepository/introspection/meson.build index 0b11e7431..c55eef5df 100644 --- a/girepository/introspection/meson.build +++ b/girepository/introspection/meson.build @@ -219,8 +219,8 @@ if host_system == 'windows' foreach h: gio_win32_include_headers gio_gir_args += '--c-include=@0@'.format(h) endforeach - gio_gir_packages += 'gio-win32-2.0' - gio_gir_args += '--pkg=gio-win32-2.0' + gio_gir_packages += 'gio-windows-2.0' + gio_gir_args += '--pkg=gio-windows-2.0' else gio_gir_sources += [ gio_unix_include_headers, unix_sources ] foreach h: gio_unix_include_headers @@ -262,7 +262,7 @@ if host_system == 'windows' nsversion: '2.0', identifier_prefix: gi_identifier_prefix, symbol_prefix: gi_symbol_prefix, - export_packages: [ 'gio-win32-2.0' ], + export_packages: [ 'gio-windows-2.0' ], header: 'gio/gio.h', includes: [ glib_gir[0], gmodule_gir[0], gobject_gir[0], gio_gir[0] ], install: true, @@ -274,7 +274,7 @@ if host_system == 'windows' ], env: gi_gen_env_variables, extra_args: gir_args + gio_gir_args + gio_win32_gir_c_includes + [ - '--pkg=gio-win32-2.0', + '--pkg=gio-windows-2.0', '--symbol-prefix=g_win32', '--identifier-prefix=GWin32' ],