[Bug 770987] New: configure.ac EGL checks clobber user EGL_LIBS/EGL_CFLAGS
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Sep 7 06:16:01 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=770987
Bug ID: 770987
Summary: configure.ac EGL checks clobber user
EGL_LIBS/EGL_CFLAGS
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: a.j.buxton at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
If configure.ac finds EGL it sets EGL_CFLAGS to empty, and sets EGL_LIBS to a
fixed string:
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/configure.ac#n789
Then later it sets GL_CLFAGS and GL_LIBS to empty:
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/configure.ac#n826
And then finally it does this:
GL_LIBS="$GL_LIBS -lEGL $EGL_LIBS"
GL_CFLAGS="$GL_CFLAGS $EGL_CFLAGS"
At this point all the variables are empty. The result of this is that if you
need to specify EGL_CFLAGS/EGL_LIBS to make EGL work, then your options will
not be passed through to the actual compile.
This is for example the reason why you need to put loads of stuff into LDFLAGS,
CFLAGS, CPPFLAGS when building on the raspberry pi as in this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=740530
Note that the Mali EGL detection branch does the same thing.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list