meson: don't try to generate i18n translations on windows
authorDylan Baker <dylan@pnwbakers.com>
Fri, 31 May 2019 23:13:11 +0000 (16:13 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 10 Sep 2019 20:36:47 +0000 (20:36 +0000)
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/util/xmlpool/meson.build

index 81184fa..d0ecec4 100644 (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