aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorJon Turney <[email protected]>2016-09-15 16:04:16 +0100
committerJon Turney <[email protected]>2017-11-10 18:24:12 +0000
commitd1edf6e3962e187a1213dd4064ba3b6fb6c3ea4f (patch)
treeaa253387086ba22cb32712b68da768008719a72d /src/glx
parent764f1e4d4509448797008c2b20956b31d8360ef0 (diff)
glx/windows: Fix building libwindowsdri when libX11 headers are installed in a non-standard location
Signed-off-by: Jon Turney <[email protected]> Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/windows/Makefile.am3
1 files changed, 3 insertions, 0 deletions
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 \