summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--third_party/mesa/mesa.gyp9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/mesa/mesa.gyp b/third_party/mesa/mesa.gyp
index a9e884e..67daf52 100644
--- a/third_party/mesa/mesa.gyp
+++ b/third_party/mesa/mesa.gyp
@@ -103,6 +103,15 @@
'-Wno-unknown-pragmas',
],
},
+ 'conditions': [
+ ['use_x11==0', {
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'MESA_EGL_NO_X11_HEADERS',
+ ],
+ },
+ }],
+ ],
},
{
'target_name': 'mesa_libglslcommon',