mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
static: Update libgstlibav.lai too
Libtool will produce libgstlibav.la and libgstlibav.lai (the installed version). We need to edit at least the installed version for the final linking of static application to work.
This commit is contained in:
parent
a7d6eb2afa
commit
46691bd0ec
1 changed files with 3 additions and 1 deletions
|
@ -51,10 +51,12 @@ if GST_PLUGIN_BUILD_STATIC
|
|||
libgstlibav.la: $(libgstlibav_la_OBJECTS) $(libgstlibav_la_DEPENDENCIES) $(EXTRA_libgstlibav_la_DEPENDENCIES)
|
||||
$(AM_V_CCLD)$(libgstlibav_la_LINK) -rpath $(plugindir) $(libgstlibav_la_OBJECTS) $(libgstlibav_la_LIBADD) $(LIBS)
|
||||
$(AM_V_at)cp $@ $@.tmp
|
||||
$(AM_V_at)rm $@
|
||||
$(AM_V_at)cp .libs/$@i .libs/$@i.tmp
|
||||
$(AM_V_at)rm $@ .libs/$@i
|
||||
$(AM_V_at)$(AR) -d .libs/libgstlibav.a $(foreach dep,$(LIBAV_DEPS), $(notdir $(dep)))
|
||||
$(AM_V_at)$(RANLIB) .libs/libgstlibav.a
|
||||
$(AM_V_GEN)sed -e "s|^\(dependency_libs='\)|\1 $(LIBAV_LIBS)|" $@.tmp > $@ && rm $@.tmp
|
||||
$(AM_V_GEN)sed -e "s|^\(dependency_libs='\)|\1 $(LIBAV_LIBS)|" .libs/$@i.tmp > .libs/$@i && rm .libs/$@i.tmp
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue