mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
gl: Always include EGL_CFLAGS in GL_CFLAGS when EGL_LIBS is added to GL_LIBS
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.
This commit is contained in:
parent
3a3568c356
commit
0bb6d22ffc
1 changed files with 1 additions and 0 deletions
|
@ -990,6 +990,7 @@ case $host in
|
||||||
if test "x$NEED_EGL" != "xno"; then
|
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
|
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_LIBS="$GL_LIBS -lEGL $EGL_LIBS"
|
||||||
|
GL_CFLAGS="$GL_CFLAGS $EGL_CFLAGS"
|
||||||
USE_EGL=yes
|
USE_EGL=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue