[MPlayer-dev-eng] [PATCH][RFC] configure: Invoke FFmpeg's configure

Alexander Strasser eclipse7 at gmx.net
Wed Jan 10 00:22:45 EET 2018


On 2018-01-09 23:01 +0100, wm4 wrote:
> On Mon, 8 Jan 2018 22:14:24 +0100
> Alexander Strasser <eclipse7 at gmx.net> wrote:
> 
[...]

> > * use libs autodetected by MPlayer's configure to enable features in FFmpeg

[...]
> 
> > +  ffmpeg_extra_libs="$(awk -F= '/^EXTRALIBS/ { if ($2 != "") s[$2] } END { for (extralibs in s) { all_libs = all_libs " " extralibs } ; print all_libs }' ffmpeg/ffbuild/config.mak)"
> > +  extra_ldflags="$extra_ldflags $ffmpeg_extra_libs"
> > +  echores "$res_internal_ffmpeg_configured"
> > +fi
> > +
> >  extra_ldflags="$extra_ldflags $libm"
> 
> Does this intend to grab dependencies needed by ffmpeg? Just use the
> pkg-config files instead of accessing build system internals.

Right, I believe that is the only thing needed here. As mentioned above
I wasn't particularly satisfied on how I did it in this RFC version.

I agree using the .pc files should be cleaner and hopefully sufficient.
Thank you for pointing this out!


  Alexander


More information about the MPlayer-dev-eng mailing list