http://bugs.winehq.org/show_bug.cgi?id=8199
Summary: hardcoded /usr/lib/libsicu*.a breaks biarch builds Product: Wine Version: CVS Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-patches AssignedTo: wine-bugs@winehq.org ReportedBy: rmh@aybabtu.com
The configure check for libsicu{uc,data}.a assumes these libraries can only be found on /usr/lib or in a directory provided by the user. This breaks build on multiarch systems, where /usr/lib/libsicu*.a are 64-bit, and 32-bit libraries are available elsewhere. Depending on the system's binutils, this can result in build failure or in libicu functionality being disabled (see http://sourceware.org/ml/binutils/2007-04/msg00370.html).
Fortunately, wine doesn't need to know how to find the 32-bit lib directory, because the toolchain is already capable of finding it. Having a fallback value of "-lsicu*" is enough to grant the library will be static, since libicu uses this "s" prefix to differenciate static libs.