[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] GNU Make - bad default .LIBPATTERNS on Windows/Cygwin
From: |
Eli Zaretskii |
Subject: |
Re: [BUG] GNU Make - bad default .LIBPATTERNS on Windows/Cygwin |
Date: |
Fri, 10 Jan 2014 14:03:14 +0200 |
> From: Pavel Fedin <address@hidden>
> Date: Fri, 10 Jan 2014 15:49:35 +0400
> Cc: address@hidden
>
> Hello! I've just discovered one more bug in GNU Make under Cygwin.
>
> Make is able to understand -lfoo as depencencies and tries its best to look
> up libraries correctly. However in some situations it fails to do so because
> it lacks proper templates for Cygwin.
> The problem is fixed by adding the following proper definitions to
> default.c:
> --- cut ---
> #elif defined(__CYGWIN__) || defined(WINDOWS32)
> ".LIBPATTERNS", "lib%.dll.a %.dll.a lib%.a %.lib lib%.dll %.dll",
> --- cut ---
Thanks, pushed.