Bug 19606 - fontconfig.pc Libs.private needs -liconv on Mac OS X
Summary: fontconfig.pc Libs.private needs -liconv on Mac OS X
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.6
Hardware: x86-64 (AMD64) Mac OS X (All)
: medium normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-16 08:15 UTC by Ryan Schmidt
Modified: 2009-06-24 12:35 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Ryan Schmidt 2009-01-16 08:15:48 UTC
fontconfig (2.6.0) uses libiconv (on Mac OS X anyway) but fontconfig.pc doesn't list -liconv in Libs.private. I believe this is the cause of some problems on Mac OS X building software that uses fontconfig, for example when trying to build a universal binary of tk (which uses libXft which uses fontconfig):

http://trac.macports.org/ticket/18035

I see from the ChangeLog you've previously added -lexpat (bug #7683) and -lfreetype to Libs.private for similar reasons.
Comment 1 Behdad Esfahbod 2009-02-03 14:16:32 UTC
In my tree:

commit 40da427e348eba2d9e87633307b55164c303ccdf
Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Tue Feb 3 17:15:52 2009 -0500

    Add ICONV_LIBS to fontconfig.pc.in (#19606)

Comment 2 Behdad Esfahbod 2009-06-24 12:35:40 UTC
I believe I've fixed this in 2.7.0.  Please reopen otherwise.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.