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

Måns Rullgård mans
Tue Oct 28 21:12:59 CET 2008


Chris Hills wrote:
> On 22/10/08 16:52, M?ns Rullg?rd wrote:
>> Adding -I$HOME/include to your CFLAGS doesn't need pkgconfig.
>
> Come to think of it, the way I install libraries /does/ lend itself well
> to cross-compiling with pkg-config.
>
> I use a structure similar to Gobolinux - e.g.
>
> ~/Libraries/name/version
>
> and then link the .pc files to a single location, ~/Libraries/pkgconfig.
>
> I could simple move my libraries to ~Libraries/arch/name/version and
> pkgconfig to ~/Libraries/arch/pkgconfig, then set PKG_CONFIG_PATH
> appropriately at compile time.

I used to something similar, and set [LD_]LIBRARY_PATH and C_INCLUDE_PATH
according the version I wanted to use.  It all worked perfectly, until
libtool started interfering in various ways, e.g. hard-coding rpath fields
in executables and shared libraries.

Yet again, the proposed problem is more easily solved by other means.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list