From 21687283e3e4006b6267e61b8653830687cd3e52 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Fri, 7 Feb 2025 11:01:44 +0100
Subject: [PATCH] sqlite: correct library extension from .lib to .a

---
 src/sqlite-1-fixes.patch | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 src/sqlite-1-fixes.patch

diff --git a/src/sqlite-1-fixes.patch b/src/sqlite-1-fixes.patch
new file mode 100644
index 0000000000..2873acb46b
--- /dev/null
+++ b/src/sqlite-1-fixes.patch
@@ -0,0 +1,23 @@
+This file is part of MXE. See LICENSE.md for licensing information.
+
+Contains ad hoc patches for cross building.
+
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Mark Brand <mabrand@mabrand.nl>
+Date: Fri, 7 Feb 2025 11:00:29 +0100
+Subject: [PATCH 1/1] fix library extension for mingw
+
+
+diff --git a/autosetup/proj.tcl b/autosetup/proj.tcl
+index 1111111..2222222 100644
+--- a/autosetup/proj.tcl
++++ b/autosetup/proj.tcl
+@@ -787,7 +787,7 @@ proc proj-lib-extension {} {
+   proc inner {key} {
+     switch -glob -- [get-define $key] {
+       *-*-ming* - *-*-cygwin - *-*-msys {
+-        return ".lib"
++        return ".a"
+       }
+       default {
+         return ".a"
