[FFmpeg-devel] [PATCH] Use pkgconfig for dirac libs
Wed Oct 22 23:33:32 CEST 2008
On Wed, Oct 22, 2008 at 10:56:11AM +0100, M?ns Rullg?rd wrote:
> Luca Barbato wrote:
> > On 22-10-2008 1:23, M?ns Rullg?rd wrote:
> >> Use of pkgconfig is discouraged; it creates more problems than it
> >> solves, especially when cross-compiling.
> > How so?
> It tries to link with /usr/lib/libfoo.so instead of
> /usr/arm-unknown-linux-gnueabi/usr/lib/libfoo.so. I'm sure you
> understand why that doesn't work too well.
FFS, read the manpage! You need to tell pkg-config where the
cross compile target .pc files are located. e.g.
./configure --cross-prefix=i586-mingw32msvc- --target-os=mingw32 --arch=i586
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel