projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a3568c
)
gl: Always include EGL_CFLAGS in GL_CFLAGS when EGL_LIBS is added to GL_LIBS
author
Mart Raudsepp
<leio@gentoo.org>
Wed, 16 Jul 2014 13:29:10 +0000
(16:29 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 16 Jul 2014 14:37:54 +0000
(16:37 +0200)
They should be handled in tandem, in case any EGL provider could require some
CFLAGS and set them (possibly once moved to prefer pkg-config files),
such as for a custom header location.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
1cb7c88
..
1717df2
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-990,6
+990,7
@@
case $host in
if test "x$NEED_EGL" != "xno"; then
if test "x$HAVE_WINDOW_WAYLAND" = "xyes" -o "x$HAVE_WINDOW_X11" = "xyes" -o "x$HAVE_WINDOW_DISPMANX" = "xyes"; then
GL_LIBS="$GL_LIBS -lEGL $EGL_LIBS"
+ GL_CFLAGS="$GL_CFLAGS $EGL_CFLAGS"
USE_EGL=yes
fi
fi