http://bugs.winehq.org/show_bug.cgi?id=25202
Summary: Wine should use pkg-config --libs freetype2 instead of freetype-config --libs Product: Wine Version: unspecified Platform: x86-64 OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: debian@carbon-project.org
Currently the Wine configure script uses freetype-config --libs to figure out the flags needed for linking (freetype-config returns "-lfreetype -lz"). But freetype-config returns the values needed for _static_ linking. Please use pkg-config --libs freetype2 which gets it right and only reports "-lfreetype" back.
This problem lead to e.g. http://forum.winehq.org/viewtopic.php?t=1951 on 64 bit builds on Debian and its derivatives (and maybe others). And even though I can work around this by having the 32 bit libz around in the build environment, the better solution would be not to link needlessly against it.