[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Under cygwin, searching library of type cyg<name>.dll when -l<na
From: |
Denis Chancogne |
Subject: |
[PATCH] Under cygwin, searching library of type cyg<name>.dll when -l<name> option is used. |
Date: |
Wed, 19 Dec 2007 13:39:51 +0100 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Under cygwin, searching library of type cyg<name>.dll when -l<name> option is used.,
Denis Chancogne <=