Folks,

my ttfautohint library exports a single function (`TTF_autohint') and
depends on freetype and harfbuzz.  A user posted the following recipe
to merge these three libraries into a single DLL in Windows.

  - build all libraries statically
  - create a `ttfautohint.def' file as below
  - call `dllwrap', something like

  dllwrap --def ttfautohint.def \
          -o ttfautohint.dll \
          /path/to/libttfautohint.a \
          /path/to/libharfbuzz.a \
          /path/to/libfreetype.a

  ttfautohint.def:
  ---
  LIBRARY ttfautohint.dll
  EXPORTS
  TTF_autohint
  ---

[Supposedly you should rather use `dlltool' instead of `dllwrap', but
 this is an uninportant issue.]

Question: How can I get such a single DLL with libtool?


   Werner

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to