[FFmpeg-devel] [PATCH]Allow libspeex detection also without pkg-config

Nicolas George george at nsup.org
Wed Dec 31 14:09:42 CET 2014


Le primidi 11 nivôse, an CCXXIII, Reimar Döffinger a écrit :
> I don't care much, but I still find not having to use pkg-config
> somewhat more convenient in a cross-compilation environment where
> you don't want to install all dependencies just to make it work with
> pkg-config (or alternatively manually hack those files).

Can you elaborate on that? I suspect there are ways of making this work
easily with pkg-config, but you are to vague about the dependencies you want
to avoid, so I can not suggest a way.

> There is also a (minority) of projects with pkg-config files that
> cause undesirable side-effects which can hide errors.
> >From my system:
> 1) SDL and apr add  -D_GNU_SOURCE=1
> 2) fuse adds -D_FILE_OFFSET_BITS=64
> 3) xorg-server adds -fvisibility=hidden

I have no objection to workarounds for specific known issues, of course. But
since the problem cases are a vast minority, I object to a blanket rejection
of pkg-config, considering it makes configure much simpler and more
reliable.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141231/738a4258/attachment.asc>


More information about the ffmpeg-devel mailing list