freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] buiding ttfautohint with cmake?


From: Werner LEMBERG
Subject: Re: [ft-devel] buiding ttfautohint with cmake?
Date: Sat, 09 Dec 2017 14:47:40 +0100 (CET)

> libtool doesn't seem to be able to link DLL dependencies statically.

I've asked this question on the libtool mailing list.

> I haven't investigated this further, though.  The easiest way to get
> a statically linked DLL is to use dllwrap:
>
> - build all libraries statically, including libttfautohint
> - create a ttfautohint.def file as attached
> - call dllwrap, e.g. like so:
> 
> dllwrap --def ttfautohint.def -o ttfautohint.dll
> /path/to/libttfautohint.a /path/to/libharfbuzz.a
> /path/to/libfreetype.a
> 
> The /path/to/ directories must be adapted accordingly of course. The
> resulting DLL should only depend on system libraries.

Thanks for this recipe!  This looks indeed simple enough so that
Cosimo can move that into a small post-compilation script.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]