From 7a3a0d921235712fa8d22f85552cc382a793ce95 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 4 Jun 2016 00:20:53 +0100 Subject: [PATCH] anv: add the X related and Wayland CFLAGS to VULKAN_ENTRYPOINT_CPPFLAGS Otherwise we will fail to find the headers in some scenarios. Cc: Signed-off-by: Emil Velikov Reported-by: Tobias Klausmann Tested-by: Tobias Klausmann Reviewed-by: Tobias Klausmann --- 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 37c29862d9f..3294fa48179 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.30.2