mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
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.
This commit is contained in:
parent
d3cb9d638d
commit
297d808c6b
@ -244,8 +244,8 @@ if host_system == 'windows'
|
|||||||
foreach h: gio_win32_include_headers
|
foreach h: gio_win32_include_headers
|
||||||
gio_gir_args += '--c-include=@0@'.format(h)
|
gio_gir_args += '--c-include=@0@'.format(h)
|
||||||
endforeach
|
endforeach
|
||||||
gio_gir_packages += 'gio-win32-2.0'
|
gio_gir_packages += 'gio-windows-2.0'
|
||||||
gio_gir_args += '--pkg=gio-win32-2.0'
|
gio_gir_args += '--pkg=gio-windows-2.0'
|
||||||
else
|
else
|
||||||
gio_gir_sources += [ gio_unix_include_headers, unix_sources ]
|
gio_gir_sources += [ gio_unix_include_headers, unix_sources ]
|
||||||
foreach h: gio_unix_include_headers
|
foreach h: gio_unix_include_headers
|
||||||
@ -287,7 +287,7 @@ if host_system == 'windows'
|
|||||||
nsversion: '2.0',
|
nsversion: '2.0',
|
||||||
identifier_prefix: gi_identifier_prefix,
|
identifier_prefix: gi_identifier_prefix,
|
||||||
symbol_prefix: gi_symbol_prefix,
|
symbol_prefix: gi_symbol_prefix,
|
||||||
export_packages: [ 'gio-win32-2.0' ],
|
export_packages: [ 'gio-windows-2.0' ],
|
||||||
header: 'gio/gio.h',
|
header: 'gio/gio.h',
|
||||||
includes: [ glib_gir[0], gmodule_gir[0], gobject_gir[0], gio_gir[0] ],
|
includes: [ glib_gir[0], gmodule_gir[0], gobject_gir[0], gio_gir[0] ],
|
||||||
install: true,
|
install: true,
|
||||||
@ -299,7 +299,7 @@ if host_system == 'windows'
|
|||||||
],
|
],
|
||||||
env: gi_gen_env_variables,
|
env: gi_gen_env_variables,
|
||||||
extra_args: gir_args + gio_gir_args + gio_win32_gir_c_includes + [
|
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',
|
'--symbol-prefix=g_win32',
|
||||||
'--identifier-prefix=GWin32'
|
'--identifier-prefix=GWin32'
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user