[FFmpeg-devel] [PATCH] Use pkgconfig for dirac libs

Peter Ross pross
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.

 PKG_CONFIG_LIBDIR=/usr/i586-mingw32msvc/lib/pkgconfig \
 ./configure --cross-prefix=i586-mingw32msvc- --target-os=mingw32 --arch=i586


-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081023/22ad80b0/attachment.pgp>



More information about the ffmpeg-devel mailing list