From: Jon Turney Date: Thu, 15 Sep 2016 15:04:16 +0000 (+0100) Subject: glx/windows: Fix building libwindowsdri when libX11 headers are installed in a non... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1edf6e3962e187a1213dd4064ba3b6fb6c3ea4f;p=mesa.git glx/windows: Fix building libwindowsdri when libX11 headers are installed in a non-standard location Signed-off-by: Jon Turney Reviewed-by: Adam Jackson --- 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 \