anv: add the X related and Wayland CFLAGS to VULKAN_ENTRYPOINT_CPPFLAGS
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 3 Jun 2016 23:20:53 +0000 (00:20 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 3 Jun 2016 23:52:00 +0000 (00:52 +0100)
Otherwise we will fail to find the headers in some scenarios.

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reported-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Tested-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Reviewed-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
src/intel/vulkan/Makefile.am

index 37c29862d9f663de9296db7c3da45d6c78cfe6c2..3294fa481796030725bea678ad9ac609c538c27e 100644 (file)
@@ -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