From 432cb6575d469d4d7575d420f83990437b837f43 Mon Sep 17 00:00:00 2001 From: Pavel Fedin Date: Fri, 10 Jan 2014 14:00:02 +0200 Subject: [PATCH] Fix .LIBPATTERNS for MS-Windows builds. default.c (.LIBPATTERNS) [__CYGWIN__ || WINDOWS32]: Provide library patterns for MS-Windows. Copyright-paperwork-exempt: yes --- default.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/default.c b/default.c index 47b7dd34..d6c08a53 100644 --- a/default.c +++ b/default.c @@ -523,6 +523,8 @@ static const char *default_variables[] = ".LIBPATTERNS", "lib%.a $(DJDIR)/lib/lib%.a", #elif defined(__APPLE__) ".LIBPATTERNS", "lib%.dylib lib%.a", +#elif defined(__CYGWIN__) || defined(WINDOWS32) + ".LIBPATTERNS", "lib%.dll.a %.dll.a lib%.a %.lib lib%.dll %.dll", #else ".LIBPATTERNS", "lib%.so lib%.a", #endif