Bug 64501

Summary: harfbuzz misses -lusp10 and -lgdi32
Product: HarfBuzz Reporter: nfxjfg
Component: srcAssignee: Behdad Esfahbod <freedesktop>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: freedesktop
Version: unspecified   
Hardware: Other   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

Description nfxjfg 2013-05-12 17:22:02 UTC
Compiling harfbuzz in MXE (a set of scripts to compile common open source packages with mingw, http://mxe.cc/) yields some linker errors, such as src/hb-uniscribe.cc:187: undefined reference to `ScriptFreeCache@4'.

It appears the .pc file for Windows is missing the -lgdi32 and -lusp10 linker flags.
Comment 1 Behdad Esfahbod 2013-05-21 23:07:05 UTC
But the pc file shouldn't need it.  At any rate, I'm disabling the Uniscribe backend by default, which should address this.
Comment 2 nfxjfg 2013-05-21 23:36:16 UTC
> But the pc file shouldn't need it.

Why not?
Comment 3 Behdad Esfahbod 2013-05-22 18:36:00 UTC
It should go in Libs.private I think, yeah.
Comment 4 Behdad Esfahbod 2015-08-11 10:59:14 UTC
Fixed in master.

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.