On Wed, Dec 31, 2014 at 02:23:06PM +0100, Clément Bœsch wrote: > On Wed, Dec 31, 2014 at 02:02:20PM +0100, Reimar Döffinger wrote: > [...] > > 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 > > > > Note that if the flags are somehow wrong, you can either: > 1) edit the .pc file to raise different flags > 2) use --pkg-config=/bin/true --extra-ldflags=... --extra-cflags=...
1) certainly has a whole lot of problems when it's a distribution-provided file that you are editing. and 2) means you suddenly have to provide -lsomething for each and every library, not just those that you are missing a .pc file for (usually because you only have a local compiled version of the library). _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel