[Mesa-dev] [PATCH] anv: add the X related and Wayland CFLAGS to VULKAN_ENTRYPOINT_CPPFLAGS

Emil Velikov emil.l.velikov at gmail.com
Fri Jun 3 23:22:40 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

Otherwise we might fail to find the headers in some scenarios.

Cc: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
Reported-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/intel/vulkan/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am
index 37c2986..3294fa4 100644
--- a/src/intel/vulkan/Makefile.am
+++ b/src/intel/vulkan/Makefile.am
@@ -125,6 +125,8 @@ nodist_EXTRA_libvulkan_intel_la_SOURCES = dummy.cpp
 libvulkan_intel_la_SOURCES = $(VULKAN_GEM_FILES)
 
 VULKAN_ENTRYPOINT_CPPFLAGS = \
+	$(XCB_DRI3_CFLAGS) \
+	$(WAYLAND_CFLAGS) \
 	-DVK_USE_PLATFORM_XCB_KHR \
 	-DVK_USE_PLATFORM_WAYLAND_KHR
 
-- 
2.8.2



More information about the mesa-dev mailing list