Re: [PATCH][RFC] configure: Invoke FFmpeg's configure
Alexander Strasser <[email protected]>
| Newsgroups | gmane.comp.video.mplayer.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2018-01-09 23:01 +0100, wm4 wrote: > On Mon, 8 Jan 2018 22:14:24 +0100 > Alexander Strasser <[email protected]> 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 _______________________________________________ MPlayer-dev-eng mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng