mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
meson: build Windows resource files
configure_file() forces utf-8 atm but .rc files are not utf-8. To work around the issue just remove the only non-ASCII char. https://bugzilla.gnome.org/show_bug.cgi?id=784995
This commit is contained in:
committed by
Christoph Reiter
parent
0e7b82abb9
commit
aa7c5cbdcb
@@ -43,6 +43,16 @@ gobject_sources = files(
|
||||
'gvaluetypes.c',
|
||||
)
|
||||
|
||||
if host_system == 'windows'
|
||||
gobject_win_rc = configure_file(
|
||||
input: 'gobject.rc.in',
|
||||
output: 'gobject.rc',
|
||||
configuration: glibconfig_conf,
|
||||
)
|
||||
gobject_win_res = windows.compile_resources(gobject_win_rc)
|
||||
gobject_sources += [gobject_win_res]
|
||||
endif
|
||||
|
||||
if enable_dtrace
|
||||
gobject_dtrace_obj = dtrace_obj_gen.process('gobject_probes.d')
|
||||
gobject_dtrace_hdr = dtrace_hdr_gen.process('gobject_probes.d')
|
||||
|
Reference in New Issue
Block a user