mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
Use automake to install dependency libraries
The install line was using -t parameter which is not supported on OSX. Instead, use automake DATA installation mechanism, this way we rely on automake to generate portable scripts.
This commit is contained in:
parent
0b48f0e3fd
commit
de60c46e30
1 changed files with 3 additions and 1 deletions
|
@ -41,13 +41,15 @@ if HAVE_LIBAV_UNINSTALLED
|
|||
libgstlibav_la_DEPENDENCIES = $(LIBAV_DEPS)
|
||||
|
||||
if GST_PLUGIN_BUILD_STATIC
|
||||
depsdir = $(libdir)
|
||||
deps_DATA = $(LIBAV_DEPS)
|
||||
|
||||
libgstlibav_la = $(DESTDIR)$(plugindir)/libgstlibav.la
|
||||
|
||||
install-data-hook:
|
||||
$(AM_V_at)cp $(libgstlibav_la) $(libgstlibav_la).tmp
|
||||
$(AM_V_GEN)sed -e "s|-L$(top_builddir)/gst-libs/ext/libav/lib[a-z]* ||g" \
|
||||
$(libgstlibav_la).tmp > $(libgstlibav_la) && rm $(libgstlibav_la).tmp
|
||||
$(AM_V_at)$(INSTALL) -t$(DESTDIR)$(libdir) $(LIBAV_DEPS)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue