[FFmpeg-devel] [PATCH 2/3] build: rely on pkg-config for libx264 probing
Clément Bœsch
u at pkh.me
Thu Aug 21 14:34:42 CEST 2014
On Thu, Aug 21, 2014 at 02:24:40PM +0200, Clément Bœsch wrote:
> On Thu, Aug 21, 2014 at 12:16:35PM +0000, Carl Eugen Hoyos wrote:
> > Clément Bœsch <u <at> pkh.me> writes:
> >
> > [...]
> >
> > Sorry, I seem to have lost track of what you fear
> > will not work if pkg-config is used for x264
> > detection but will fallback to the current
> > system if pkg-config does not find the right
> > version.
>
> It's simple really. You said earlier:
>
> > > or do you actually want a real fallback when it is
> > > present but didn't succeed?
> >
> > This is the preferred solution imo.
>
> In this case, if pkg-config finds the system install, it will not honor
> the user c/ld flags but the one from pkg-config.
>
BTW, now that I think of it, depending on where the --extra-{ld,cflags}
are added in the compilation and linker flag, they *might* allow you to
trick the detection.
Did you try the patch with pkg-config only detection?
And try to add --pkg-config=true to trick the detect function.
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140821/0316eecf/attachment.asc>
More information about the ffmpeg-devel
mailing list