meson: don't try to generate i18n translations on windows

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
Dylan Baker 2019-05-31 16:13:11 -07:00
parent 26961e2cb5
commit a1a8703199
1 changed files with 4 additions and 2 deletions

View File

@ -36,5 +36,7 @@ xmlpool_options_h = custom_target(
depend_files : _langs_po_files,
)
i18n = import('i18n')
i18n.gettext('xmlpool', install : false)
if host_machine.system() != 'windows'
i18n = import('i18n')
i18n.gettext('xmlpool', install : false)
endif