From 1f26d15160cf2e429870f5d2f85f4a0f08563a71 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Thu, 14 Nov 2024 23:14:06 +0100 Subject: [PATCH] Fixed build with Cygwin and MinGW-w64 when *not* using the "shared" library. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 720f0ff..43d99bf 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,7 @@ endif ifneq (,$(firstword $(filter %mingw32 %-windows-gnu %-cygwin %-cygnus,$(MACHINE)))) EXE_SUFFIX := .exe - LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),dll,lib) + LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),dll,a) else LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),$(if $(findstring -apple-darwin,$(MACHINE)),dylib,so),a) endif