[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
- Re: [ft-devel] Fwd: buiding ttfautohint with cmake?, (continued)
- Re: [ft-devel] Fwd: buiding ttfautohint with cmake?, Cosimo Lupo, 2017/12/14
- Re: [ft-devel] Fwd: buiding ttfautohint with cmake?, Werner LEMBERG, 2017/12/14
- Re: [ft-devel] Fwd: buiding ttfautohint with cmake?, Cosimo Lupo, 2017/12/15
- Re: [ft-devel] Fwd: buiding ttfautohint with cmake?, Werner LEMBERG, 2017/12/17
- Re: [ft-devel] Fwd: buiding ttfautohint with cmake?, Cosimo Lupo, 2017/12/22
- Re: [ft-devel] Fwd: buiding ttfautohint with cmake?, Cosimo Lupo, 2017/12/22
- Re: [ft-devel] Fwd: buiding ttfautohint with cmake?, Werner LEMBERG, 2017/12/22
- Re: [ft-devel] Fwd: buiding ttfautohint with cmake?, Werner LEMBERG, 2017/12/13
- Re: [ft-devel] Fwd: buiding ttfautohint with cmake?, Martin Gieseking, 2017/12/13
- Re: [ft-devel] Fwd: buiding ttfautohint with cmake?, Werner LEMBERG, 2017/12/13
- Re: [ft-devel] buiding ttfautohint with cmake?,
Werner LEMBERG <=
- Re: [ft-devel] buiding ttfautohint with cmake?, Werner LEMBERG, 2017/12/10