[Buildroot] [PATCH v3] mediastreamer: fix avcodec functions conflict
Giulio Benetti
giulio.benetti at micronovasrl.com
Tue Sep 4 21:34:13 UTC 2018
Hello Peter,
Il 04/09/2018 22:58, Peter Korsgaard ha scritto:
>>>>>> "Giulio" == Giulio Benetti <giulio.benetti at micronovasrl.com> writes:
>
> > Autotools miss avcodec function check leading to conflicts between local
> > functions and avcodec functions.
>
> > Add patch to swap $FFMPEG_LIBS and -lavutil which are checked when
> > AC_CHECK_LIB on avcodec_* functions. $FFMPEG_LIBS contain -ldrm that must
> > be listed after -lavutil.
>
> > Fixes:
> > http://autobuild.buildroot.net/results/394/3945e06ea0dd1e16013184fbab5b67b3561c87ce/
> > http://autobuild.buildroot.net/results/576/576c7d71313c45753848462717200b2b8ff5bb0e/
> > http://autobuild.buildroot.net/results/f33/f339ac6ea30815eeb8ecb144c971f56c06a9f995
>
> > Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
> > ---
> > Changes V2->V3:
> > * don't append -ldrm, swap $FFMPEG_LIBS with -lavutil
>
> > Changes V1->V2:
> > * merge -ldrm into FFMPEG_LIBS instead of repeating it thrice.
>
> Committed after extending the commit message to clarify that this is
> about static linking, thanks.
>
Sorry for my ignorance, so library order during linking is an issue only
with static libraries?
Best regards
Giulio Benetti
More information about the buildroot
mailing list