[cairo] Improved library dependencies in .pc files

Behdad Esfahbod behdad at behdad.org
Wed Jul 12 01:31:34 PDT 2006


Hi,

I just committed changes to the .pc file generation to encode all
private library dependencies in Lib.private inside cairo.pc.  So:

[behdad at home cairo]$ pkg-config --libs cairo
-L/home/behdad/.local/lib -lcairo  
[behdad at home cairo]$ pkg-config --libs cairo --static
-L/home/behdad/.local/lib -lcairo -lSM -lICE -lX11 -lm -lfreetype -lz
-lfontconfig -lpng12 -lXrender  

This should hopefully solve the "_compress not found" problem on OS X
that doesn't support indirect linking.

Also made cairo-xlib-xrender require cairo-xlib.


Please, remove your config.cache and test the new setting by doing a
make install and trying to build your favorite cairo-using applications
that use pkg-config.

Cheers,

-- 
behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
        -- Dan Bern, "New American Language"



More information about the cairo mailing list