From 9b5a5a3c375df5b488dd55ac32ed0b9efba2518f Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 17 Mar 2014 15:06:25 +0100 Subject: [PATCH] gl: only link against gstegl if we are using egl Assuming if we are building egl that the egl library is built --- gst-libs/gst/gl/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am index 74cca7a571..4902b0b73a 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