[HarfBuzz] harfbuzz.pc and static linking
Behdad Esfahbod
behdad at behdad.org
Tue Aug 18 02:43:39 PDT 2015
On 15-08-14 08:32 AM, Werner LEMBERG wrote:
>
>>>>> Should be fixed in master. On my machine pkg-config crashes if
>>>>> I specify --static. Please test.
>
> For me it works, thanks!
>
>>> Oh, I suppose it doesn't like the recursive dependency between
>>> HarfBuzz and FreeType... You'd think pkg-config knows how to deal
>>> with circular deps. Looks like not. Do others know about this?
>>
>> Looks like it *should* handle it. But isn't for me. Anyone have
>> any insight into this?
>
> After installation the current git of harfbuzz, I get
>
> $ pkg-config --libs harfbuzz
> -L/usr/local/lib -lharfbuzz
>
> $ pkg-config --libs --static harfbuzz
> -L/usr/local/lib -lharfbuzz -lglib-2.0 \
> -pthread -lpcre -pthread -lfreetype -lz -lbz2 -lpng12 -lz -lm
>
> $ pkg-config --libs --static freetype2
> -L/usr/local/lib -lfreetype -lz -lbz2 -lpng12 -lz -lm \
> -lharfbuzz -lglib-2.0 -pthread -lpcre -pthread
>
> This is a self-compiled version of pkg-config's current git.
>
> Note, however, that my openSuSE 13.2's pkg-config version 0.28-7.1.2
> works, too.
Tried again. Works for me with pkg-config master, but not with 0.26 which is
what Ubuntu ships on 14.04 LTS :-(. Need to do something about it. Only if
Ubuntu wasn't so bad in tracking such important packages as pkg-config...
b
> Werner
>
--
behdad
http://behdad.org/
More information about the HarfBuzz
mailing list