[Fontconfig] About fontconfig.pc

宮村 公男 xanadu at apost.plala.or.jp
Thu Jul 11 08:15:37 PDT 2013

Hi, I am newly joined to this mailing list.

I'm not a kind of people who is related with fontconfig development.  Just joined to inform a issue with package-config file of fontconfig, i.e. fontconfig.pc.  

I build fontconfig to build ffmpeg with subtitle support.  Even though, I build fontconfig correctly, I get "fontconfig not found" error from ffmpeg configure script.

I searched how to solve this issue and found the answer finally!!  

The answer is found in following URL.


I build fontconfig 2.10.93 with "./configure --prefix=prefix --disable-shared --disable-docs --enable-static --enable-iconv" configure option.  

And make a correction to fontconfig.pc  which is installed into prefix/lib/pkgconfig.  

--- fontconfig.pc.orig
+++ fontconfig.pc.correction

Version: 2.10.93
+++ Requires: freetype2 expat
--- Libs: -L${libdir} -lfontconfig
+++ Libs: -L${libdir} -lfontconfig -liconv

Hope that this information will help your development of fontconfig.  Cheers!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20130712/22a347dd/attachment.html>

More information about the Fontconfig mailing list