mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
For static builds, add the ffmpeg library directories to the linker flags
This commit is contained in:
parent
1a127d19bb
commit
ac3437153d
1 changed files with 8 additions and 2 deletions
10
configure.ac
10
configure.ac
|
@ -281,7 +281,11 @@ else
|
|||
dnl with static linking we can't use the .a archive directly as they would
|
||||
dnl be included in the final libgstlibav.a as a file and won't be usable.
|
||||
dnl libav*.a must be copied to the final destination too
|
||||
LIBAV_LIBS="-lavformat -lavcodec -lswresample -lavutil"
|
||||
LIBAV_LIBS="-L\$(top_builddir)/gst-libs/ext/libav/libavformat \
|
||||
-L\$(top_builddir)/gst-libs/ext/libav/libavcodec \
|
||||
-L\$(top_builddir)/gst-libs/ext/libav/libswresample \
|
||||
-L\$(top_builddir)/gst-libs/ext/libav/libavutil \
|
||||
-lavformat -lavcodec -lswresample -lavutil"
|
||||
else
|
||||
dnl libgstlibav.la: libs to statically link to
|
||||
LIBAV_LIBS="$LIBAV_DEPS"
|
||||
|
@ -298,7 +302,9 @@ else
|
|||
dnl with static linking we can't use the .a archive directly as they would
|
||||
dnl be included in the final libgstswscale.a as a file and won't be usable.
|
||||
dnl libav*.a must be copied to the final destination too
|
||||
SWSCALE_LIBS="-lswscale -lavutil"
|
||||
SWSCALE_LIBS="-L\$(top_builddir)/gst-libs/ext/libav/libswscale \
|
||||
-L\$(top_builddir)/gst-libs/ext/libav/libavutil \
|
||||
-lswscale -lavutil"
|
||||
else
|
||||
dnl libgstswscale.la: libs to statically link to
|
||||
SWSCALE_LIBS="$SWSCALE_DEPS"
|
||||
|
|
Loading…
Reference in a new issue