[HarfBuzz] Detecting ICU/FreeType without pkg-config?

Behdad Esfahbod behdad at behdad.org
Wed Nov 18 11:49:09 PST 2009

On 11/18/2009 02:14 AM, Jjgod Jiang wrote:
> Hi,
> Currently harfbuzz-ng use pkg-config to detect whether the ICU and
> FreeType libraries are present. However, the official ICU code obtained
> from icu-project.org does not have a icu.pc file shipped (and will not
> generate one after compilation, if I am correct). I did notice that
> "./configure --help" of harfbuzz-ng mentioned ICU_FLAGS adn ICU_LIBS
> environment variables, but setting them didn't work for me either,
> configure still reported no ICU lib found.
> Is there any way to make harfbuzz-ng detect ICU/FreeType without using
> pkg-config files? Thanks.

Hi Jiang,

The way HarfBuzz will detect external libraries is far from finished!  I will 
go back to putting an actual configure interface in there when the library is 
a bit more in shape.  I'll keep this in mind for ICU.  For FreeType, I'm more 
inclined to just check for .pc.  It's been years since FreeType has shipped a 
.pc file.


> - Jiang

More information about the HarfBuzz mailing list