diff options
author | Matthew Waters <ystreet00@gmail.com> | 2014-03-17 15:06:25 +0100 |
---|---|---|
committer | Matthew Waters <ystreet00@gmail.com> | 2014-03-17 15:06:25 +0100 |
commit | 567820c55163cfdfec23b709728c52ce6af8c7c0 (patch) | |
tree | 4466f6adc528a741fde992d3b39f16f49f847991 | |
parent | ceb02341df3cb14bc760dae062230acaa5909446 (diff) |
gl: only link against gstegl if we are using egl
Assuming if we are building egl that the egl library is built
-rw-r--r-- | gst-libs/gst/gl/Makefile.am | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am index 74cca7a57..4902b0b73 100644 --- a/gst-libs/gst/gl/Makefile.am +++ b/gst-libs/gst/gl/Makefile.am @@ -49,9 +49,7 @@ libgstgl_@GST_API_VERSION@include_HEADERS = \ libgstgl_@GST_API_VERSION@_la_LIBADD = \ $(GST_PLUGINS_BASE_LIBS) \ - $(top_builddir)/gst-libs/gst/egl/libgstegl-$(GST_API_VERSION).la \ -lgstvideo-$(GST_API_VERSION) \ - -lgstegl-$(GST_API_VERSION) \ $(GST_BASE_LIBS) \ $(GST_LIBS) \ $(GL_LIBS) @@ -89,6 +87,7 @@ endif if USE_EGL libgstgl_@GST_API_VERSION@_la_SOURCES += egl/gstglcontext_egl.c \ egl/gstgldisplay_egl.c +libgstgl_@GST_API_VERSION@_la_LIBADD += $(top_builddir)/gst-libs/gst/egl/libgstegl-$(GST_API_VERSION).la libgstgl_@GST_API_VERSION@include_HEADERS += egl/gstgldisplay_egl.h noinst_HEADERS += egl/gstglcontext_egl.h endif |