summaryrefslogtreecommitdiff
path: root/patches/mesa-mesa/0003-Fix-building-libwindowsdri-when-libX11-headers-are-i.patch
blob: 179365545e51692caa2cbd78429bbed5c0b053f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From dadbf20be85502cb01b773e01e25b9983dbca27a Mon Sep 17 00:00:00 2001
From: Jon Turney <jon.turney@dronecode.org.uk>
Date: Thu, 15 Sep 2016 16:04:16 +0100
Subject: [PATCH 3/3] Fix building libwindowsdri when libX11 headers are
 installed in a non-standard location

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
---
 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 f84288b935..f4f8e9664d 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.12.3