meson: Do not warn about pixbuf loaders.cache on native Windows builds
This is distracting, being only useful on crossbuilds. Since many years, MSYS2 runs such command at install.
This commit is contained in:
parent
9686f94f1d
commit
ac73289f18
1 changed files with 1 additions and 1 deletions
|
|
@ -1352,7 +1352,7 @@ have_vector_icons = get_option('vector-icons')
|
|||
if have_vector_icons
|
||||
# shared-mime-info is needed to correctly detect SVG files
|
||||
# (except on Windows, apparently).
|
||||
if platform_windows
|
||||
if platform_windows and meson.is_cross_build()
|
||||
vec_warning = '''
|
||||
You enabled vector icons on Win32. Make sure to run:
|
||||
$ gdk-pixbuf-query-loaders.exe --update-cache
|
||||
|
|
|
|||
Loading…
Reference in a new issue