On Wednesday 05 September 2012 13:10:21 Roger Pack wrote: > Name: Fontconfig > Description: Font configuration and customization library > Version: 2.10.1 > Libs: -L${libdir} -lfontconfig > Libs.private: > -L/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/ > i686-w64-mingw32/lib -lexpat > -L/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/ > i686-w64-mingw32/lib -lfreetype > Cflags: -I${includedir} > > > When it actually gets used, it fails because it is missing "-lexpat" > and "-lfreetype" in the Libs: section. Or at least, adding those to > the .pc causes linking with it to work. as hinted by suzuki, fontconfig.pc is correct. the shared library (fontconfig) do not need -lexpat/-lfreetype. if you are trying to link it statically (which is common with windows targets), you need to call pkg-config with the -- static flag to get the extra stuff. -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig