mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
gl: only link against gstegl if we are using egl
Assuming if we are building egl that the egl library is built
This commit is contained in:
parent
f98fee49c2
commit
9b5a5a3c37
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue