board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / libepoxy / 0001-Forward-EGL-cflags-into-epoxy.pc.patch
blob286f875bc9543176ab6b92c08058f9df7e4afef7
1 From 99b8373dbe8fb3bac835ebad90f91cfd213e4acb Mon Sep 17 00:00:00 2001
2 From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3 Date: Wed, 15 Mar 2017 10:02:54 -0300
4 Subject: [PATCH] Forward EGL cflags into epoxy.pc
6 When building mesa egl without x11 and gles2 the headers need a
7 MESA_EGL_NO_X11_HEADERS define to avoid including X11 headers.
8 Forward EGL CFLAGS into epoxy.pc to avoid build failures when linking
9 against libepoxy on this scenario.
11 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
12 ---
13 Status: pull request https://github.com/anholt/libepoxy/pull/113
15 epoxy.pc.in | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
18 diff --git a/epoxy.pc.in b/epoxy.pc.in
19 index 7828a77..8278b7d 100644
20 --- a/epoxy.pc.in
21 +++ b/epoxy.pc.in
22 @@ -10,6 +10,6 @@ epoxy_has_wgl=@epoxy_has_wgl@
23 Name: epoxy
24 Description: epoxy GL dispatch Library
25 Version: @PACKAGE_VERSION@
26 -Cflags: -I${includedir}
27 +Cflags: -I${includedir} @EGL_CFLAGS@
28 Libs: -L${libdir} -lepoxy
29 Libs.private: @DLOPEN_LIBS@
30 --
31 2.10.2