gst-libs: Fix dependency build

adaptivedemux depends on uridownloader and video depends on base
This commit is contained in:
Edward Hervey 2014-12-01 10:27:43 +01:00
parent 655e6926bf
commit 87694c2232
2 changed files with 19 additions and 0 deletions

View file

@ -16,3 +16,21 @@ SUBDIRS = adaptivedemux interfaces basecamerabinsrc codecparsers \
noinst_HEADERS = gst-i18n-plugin.h gettext.h glib-compat-private.h
DIST_SUBDIRS = adaptivedemux interfaces gl basecamerabinsrc codecparsers \
insertbin uridownloader mpegts wayland base video
#dependencies
video: base
adaptivedemux: uridownloader
INDEPENDENT_SUBDIRS = \
interfaces basecamerabinsrc codecparsers insertbin uridownloader \
mpegts base $(GL_DIR) $(WAYLAND_DIR)
.PHONY: independent-subdirs $(INDEPENDENT_SUBDIRS)
independent-subdirs: $(INDEPENDENT_SUBDIRS)
$(INDEPENDENT_SUBDIRS):
$(MAKE) -C $@
all-recursive: independent-subdirs

View file

@ -16,6 +16,7 @@ libgstadaptivedemux_@GST_API_VERSION@_la_CFLAGS = \
-DGST_USE_UNSTABLE_API \
$(GST_CFLAGS)
libgstadaptivedemux_@GST_API_VERSION@_la_LIBADD = \
$(top_builddir)/gst-libs/gst/uridownloader/libgsturidownloader-$(GST_API_VERSION).la \
-lgstapp-$(GST_API_VERSION) $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS)
libgstadaptivedemux_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)