Let a project use libtool to make libraries. When building shared libraries on unix usually Makefile.am contain lib_LTLIBRARIES = lib<NAME>.la and result is lib<NAME>.so...
In case of mingw build (cross-compilation) in many cases is good dll to be without lib prefix. In these cases cross-compilation can create dlls with same names as native build and those dlls can be used instead native build. The name of import library can left libNAME.dll.a. How to do this? - libtool macro AC_LIBTOOL_SYS_DYNAMIC_LINKER don't preserve "libname_spec" set by CONFIG_SITE so that I cannot use "libname_spec="\$name"" in CONFIG_SITE file; - same for "soname_spec"; - LDFLAGS -module is only to use a "nonstandard" name, but this is not my case since for other systems lib prefix is fine; More info: Command: $i386-mingw32msvc-gcc -shared ... -o .libs/<NAME>.dll ... -Xlinker --out-implib -Xlinker .libs/lib<NAME>.dll.a" create dll without lib prefix and put <NAME>.dll in import library, but libtool run command with argument "-o .libs/lib<NAME>.dll". Roumen
