1*4882a593SmuzhiyunFrom 0c288853630b7b4e004774c39945d4a804afcfa8 Mon Sep 17 00:00:00 2001
2*4882a593SmuzhiyunFrom: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3*4882a593SmuzhiyunDate: Fri, 6 Aug 2021 09:17:20 +0200
4*4882a593SmuzhiyunSubject: [PATCH] configure: add extralibs to extralibs_xxx
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunAdd extralibs to extralibs_xxx (e.g. extralibs_avformat) to allow
7*4882a593Smuzhiyunapplications such as motion to retrieve ffmpeg dependencies such as
8*4882a593Smuzhiyun-latomic through pkg-config
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSigned-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
11*4882a593Smuzhiyun[Upstream status: not upstreamable]
12*4882a593Smuzhiyun---
13*4882a593Smuzhiyun configure | 18 +++++++++---------
14*4882a593Smuzhiyun 1 file changed, 9 insertions(+), 9 deletions(-)
15*4882a593Smuzhiyun
16*4882a593Smuzhiyundiff --git a/configure b/configure
17*4882a593Smuzhiyunindex 0bb3a7cf2b..3bda99e415 100755
18*4882a593Smuzhiyun--- a/configure
19*4882a593Smuzhiyun+++ b/configure
20*4882a593Smuzhiyun@@ -7602,15 +7602,15 @@ rpath=$(enabled rpath && echo "-Wl,-rpath,\${libdir}")
21*4882a593Smuzhiyun source_path=${source_path}
22*4882a593Smuzhiyun LIBPREF=${LIBPREF}
23*4882a593Smuzhiyun LIBSUF=${LIBSUF}
24*4882a593Smuzhiyun-extralibs_avutil="$avutil_extralibs"
25*4882a593Smuzhiyun-extralibs_avcodec="$avcodec_extralibs"
26*4882a593Smuzhiyun-extralibs_avformat="$avformat_extralibs"
27*4882a593Smuzhiyun-extralibs_avdevice="$avdevice_extralibs"
28*4882a593Smuzhiyun-extralibs_avfilter="$avfilter_extralibs"
29*4882a593Smuzhiyun-extralibs_avresample="$avresample_extralibs"
30*4882a593Smuzhiyun-extralibs_postproc="$postproc_extralibs"
31*4882a593Smuzhiyun-extralibs_swscale="$swscale_extralibs"
32*4882a593Smuzhiyun-extralibs_swresample="$swresample_extralibs"
33*4882a593Smuzhiyun+extralibs_avutil="$avutil_extralibs $extralibs"
34*4882a593Smuzhiyun+extralibs_avcodec="$avcodec_extralibs $extralibs"
35*4882a593Smuzhiyun+extralibs_avformat="$avformat_extralibs $extralibs"
36*4882a593Smuzhiyun+extralibs_avdevice="$avdevice_extralibs $extralibs"
37*4882a593Smuzhiyun+extralibs_avfilter="$avfilter_extralibs $extralibs"
38*4882a593Smuzhiyun+extralibs_avresample="$avresample_extralibs $extralibs"
39*4882a593Smuzhiyun+extralibs_postproc="$postproc_extralibs $extralibs"
40*4882a593Smuzhiyun+extralibs_swscale="$swscale_extralibs $extralibs"
41*4882a593Smuzhiyun+extralibs_swresample="$swresample_extralibs $extralibs"
42*4882a593Smuzhiyun EOF
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun for lib in $LIBRARY_LIST; do
45*4882a593Smuzhiyun--
46*4882a593Smuzhiyun2.30.2
47*4882a593Smuzhiyun
48