On 2014-02-13 12:14:46 +0100, Diego Biurrun wrote:
> On Thu, Feb 13, 2014 at 12:57:50AM +0100, Janne Grunau wrote:
> > Write all LIBS-$program variables to config.mak.
> > 
> > Bug-Id: 635
> > ---
> >  configure | 12 ++++++++++--
> >  1 file changed, 10 insertions(+), 2 deletions(-)
> 
> The log message does not really match the patch, this is much
> more general than just avconv.  Maybe
> 
>   configure: Do not link libraries against program-specific dependencies
> 
> ?
> 
> > --- a/configure
> > +++ b/configure
> > @@ -2038,6 +2038,7 @@ avconv_select="aformat_filter anull_filter 
> > asyncts_filter atrim_filter format_fi
> >                 setpts_filter trim_filter"
> >  avplay_deps="avcodec avformat avresample swscale sdl"
> >  avplay_select="rdft"
> > +avplay_libs='$sdl_libs'
> 
> order
> 
> > @@ -4453,6 +4454,13 @@ get_version(){
> >  
> > +print_program_libs(){
> > +    eval "program_libs=\$${1}_libs"
> > +    eval echo "LIBS-${1}=${program_libs}" >> config.mak
> > +}
> 
> Am I missing why just
> 
>   eval echo "LIBS-${1}=\$${1}_libs" >> config.mak
> 
> does not work?

$avplay_libs needs to be evaluated to write the value of '$sdl_libs'
instead of the string to config.mak.

Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to