Multiarch Wine build & libfreetype.so

Questions about Wine on Linux
Locked
wylda
Newbie
Newbie
Posts: 1
Joined: Sun May 31, 2009 3:55 pm

Multiarch Wine build & libfreetype.so

Post by wylda »

Hi,
i'm trying to build wine on Debian Jessie Multiarch AMD64 + i386. As Wiki says about older Debian Wheezy and seems outdated (for exapmle no need for patching glibconfig.h now), i decided to try to do it from scratch.

I found only one problem and i don't know to overcome it. I have:

Code: Select all

/usr/lib/i386-linux-gnu/libfreetype.so
/usr/lib/x86_64-linux-gnu/libfreetype.so
But there is only one /usr/include/freetype2/config/ftconfig.h saying:

in case of Amd64 package:

Code: Select all

#define SIZEOF_LONG 8
in case of i386 package:

Code: Select all

#define SIZEOF_LONG 4
ftconfig.h is used for tools/sfnt2fon/sfnt2fon and dlls/gdi32/gdi32.dll.so. I wouldn't care about wine32's sfnt2fon as that is just a symlink to wine64. But i guess it would caused trouble for gdi. Should i rewrite the ftconfig.h file everytime, when doing out-of-tree build once for wine64 and then later for wine32?

Wiki doesn't says a word about Debian's ftconfig.h. Thanks for hints.
Locked