mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
meson.build: require native iso-codes
I have seen a cross compilation error from a host that does not provide iso-codes FAILED: app/widgets/gimplanguagestore-data.h /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/gimp/3.0.2/build/tools/gen-languages gimp_language_store_parser_init: 0.006277 seconds ERROR: parse_iso_codes: error parsing '/usr/share/xml/iso-codes/iso_639_3.xml': No such file or directory The problem could be fixed by making 'iso-codes' a build machine dependency Signed-off-by: Markus Volk <f_l_k@t-online.de>
This commit is contained in:
parent
0ab3037e78
commit
b9716929e1
1 changed files with 1 additions and 1 deletions
|
@ -1135,7 +1135,7 @@ endif
|
|||
################################################################################
|
||||
# ISO codes
|
||||
|
||||
isocodes = dependency('iso-codes', required: false)
|
||||
isocodes = dependency('iso-codes', required: false, native: true)
|
||||
if isocodes.found()
|
||||
isocodes_prefix = isocodes.get_variable(pkgconfig: 'prefix')
|
||||
isocodes_location = isocodes_prefix / 'share' / 'xml' / 'iso-codes'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue