Mesa (master): meson: don't try to generate i18n translations on windows

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Sep 10 20:56:53 UTC 2019


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

Author: Dylan Baker <dylan at 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.engestrom at 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




More information about the mesa-commit mailing list