Module: Mesa
Branch: master
Commit: a1a870319951f49c4169040e5efb3d550c6882f0
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1a870319951f49c4169040e5efb3d550c6882f0

Author: Dylan Baker <dy...@pnwbakers.com>
Date:   Fri May 31 16:13:11 2019 -0700

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

Reviewed-by: Eric Engestrom <eric.engest...@intel.com>

---

 src/util/xmlpool/meson.build | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/util/xmlpool/meson.build b/src/util/xmlpool/meson.build
index 81184fa6b14..d0ecec4937f 100644
--- a/src/util/xmlpool/meson.build
+++ b/src/util/xmlpool/meson.build
@@ -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

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to