diff options
author | Carlos Rafael Giani <dv@pseudoterminal.org> | 2018-02-25 14:16:44 +0100 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-02-26 07:27:20 -0500 |
commit | ee5953765783fa6969e744c448660c010277853f (patch) | |
tree | b9b8a0259dc2f1c74812f2ed38ad78b2613dd5b8 | |
parent | 783e450a60c427664041fbaee85f255478409250 (diff) |
gl: Add DRM cflags
This prevents cross compilation errors like:
usr/include/xf86drm.h:40:10: fatal error: drm.h: No such file or directory
These are caused because gstgldisplay_gbm.h includes xf86drm.h .
https://bugzilla.gnome.org/show_bug.cgi?id=793837
-rw-r--r-- | gst-libs/gst/gl/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am index ca476e723..847f7f4f7 100644 --- a/gst-libs/gst/gl/Makefile.am +++ b/gst-libs/gst/gl/Makefile.am @@ -154,6 +154,7 @@ libgstgl_@GST_API_VERSION@_la_CFLAGS = \ $(GST_PLUGINS_BASE_CFLAGS) \ $(GST_BASE_CFLAGS) \ $(GST_CFLAGS) \ + $(DRM_CFLAGS) \ $(GL_CFLAGS) libgstgl_@GST_API_VERSION@_la_LDFLAGS = \ |