I'm trying to build a library that links against the ICU library supplied by the mingw32 package set. Detection of library names, linker settings, CFLAGS and so on are handled through the standard icu-config script that is supplied by the ICU packages. However, when building for a Windows target that script only handles MSVC style of libraries and naming conventions. When it fails to locate libicu*.lib it returns an error message and no useful output. This leads to my library linking improperly when it fails to locate the expected ICU libraries. The icu-config script is assembled from a number of places where it is forced together. I have patched those files for when I built MinGW ICU packages for Ubuntu. The relevant patch is intermingled in the following file, which applies cleanly to 4.8.1.1 and is derived from the same patch in the SuSE repository: http://fpaste.org/qB2E/ I included in it some changes that allow icu-config to be run properly, thus allowing some dependent libraries to link more readily. It might need some tweaking for the SuSE packages, which I believe rename the .dll.a files to remove the version suffix. --Greg -- To unsubscribe, e-mail: opensuse-mingw+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-mingw+owner@opensuse.org
participants (1)
-
Greg Hellings