components/gnome/mutter/Makefile
changeset 7337 c2818a459e7b
parent 7197 5001d53d2e77
child 7624 50e5cc11a34e
--- a/components/gnome/mutter/Makefile	Wed Nov 16 18:51:56 2016 -0800
+++ b/components/gnome/mutter/Makefile	Sat Nov 12 17:53:39 2016 -0800
@@ -45,6 +45,10 @@
 
 include $(WS_MAKE_RULES)/gnome-component.mk
 
+# Workaround build failures when /usr/include/GL points to Nvidia's headers
+COMPONENT_PREP_ACTION += $(SYMLINK) /usr/include/mesa $(@D)/GL ;
+CPPFLAGS += -I $(SOURCE_DIR)
+
 # Requires non-standard extensions.
 CFLAGS += -std=c99 -D__EXTENSIONS__