From d1edf6e3962e187a1213dd4064ba3b6fb6c3ea4f Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Thu, 15 Sep 2016 16:04:16 +0100 Subject: [PATCH] glx/windows: Fix building libwindowsdri when libX11 headers are installed in a non-standard location Signed-off-by: Jon Turney Reviewed-by: Adam Jackson --- src/glx/windows/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/glx/windows/Makefile.am b/src/glx/windows/Makefile.am index f84288b935c..f4f8e9664d7 100644 --- a/src/glx/windows/Makefile.am +++ b/src/glx/windows/Makefile.am @@ -10,6 +10,9 @@ pkgconfig_DATA = windowsdriproto.pc # library for using the Windows-DRI server extension libwindowsdri_la_SOURCES = xwindowsdri.c xwindowsdri.h +libwindowsdri_la_CFLAGS = \ + $(X11_INCLUDES) + # native rendering GL for windows libwindowsglx_la_SOURCES = \ windowsgl.c \ -- 2.30.2