Hi, under Cygwin, when you use libtool with -l<name> option, it search only libraries of the type : lib<name>*. Because I think it wants to link with libraries lib<name>.dll.a that it produce.
But often there is no lib<name>.dll.a, only cyg<name>.dll (example: /bin/cyghttpd2core.dll) and ld is capable of linking with this kind of library. So I send you a patch to search libraries of type either - lib<name>*, cyg<name>* or <name>* under Cygwin, - lib<name>*, pw<name>* or <name>* under MingW, - and lib<name>* by default. I have added <name>* format because for example when I have compiled icu libraries, their ld-config tool gave the following options to link : -lcygicuin38 ... (instead of -licuin38). Regards Denis
libtool.m4.patch
Description: Binary data
ltmain.m4sh.patch
Description: Binary data
