Files
MSYS2-packages/sqlite/0030-fix-prefix-and-install-dir.patch
T
Christoph Reiter a11a001d26 sqlite: Update to 3.49.1
Port to new build system, and adjust things to give the same output.

* 0030-fix-prefix-and-install-dir.patch: fixups for the new build system
* 0031-use-packaged-lempar.c.patch: patch from debian for the same thing we did
* 0002-sqlite3.32.3-Makefile.in-fix-rule-compiling-rbu.exe.patch: adjusted for the new build system

All other patches should no longer be needed.

Drop extensions that don't build for now.
2025-05-03 18:32:27 +02:00

36 lines
1.3 KiB
Diff

--- sqlite-src-3490100/main.mk.orig 2025-02-18 15:09:33.000000000 +0100
+++ sqlite-src-3490100/main.mk 2025-05-02 18:07:01.901993900 +0200
@@ -1053,7 +1053,7 @@
touch .target_source
libsqlite3.LIB = libsqlite3$(T.lib)
-libsqlite3.SO = libsqlite3$(T.dll)
+libsqlite3.SO = msys-sqlite3-0$(T.dll)
# Rules to build the LEMON compiler generator
#
@@ -1467,10 +1467,10 @@
# In either case, libsqlite3.la, if found, is deleted because it would
# contain stale state, refering to non-libtool-generated libraries.
#
-install-so-1: $(install-dir.lib) $(libsqlite3.SO)
- $(INSTALL) $(libsqlite3.SO) "$(install-dir.lib)"
- @if [ -f $(libsqlite3.SO).a ]; then \
- $(INSTALL) $(libsqlite3.SO).a "$(install-dir.lib)"; \
+install-so-1: $(install-dir.lib) $(install-dir.bin) $(libsqlite3.SO)
+ $(INSTALL) $(libsqlite3.SO) "$(install-dir.bin)"
+ @if [ -f libsqlite3.dll.a ]; then \
+ $(INSTALL) libsqlite3.dll.a "$(install-dir.lib)"; \
fi
@echo "Setting up $(libsqlite3.SO) version symlinks..."; \
if [ x.dll = x$(T.dll) ]; then \
@@ -1531,7 +1531,7 @@
pkgIndex.tcl-1: pkgIndex.tcl
pkgIndex.tcl-0 pkgIndex.tcl-:
tcl: pkgIndex.tcl-$(HAVE_TCL)
-libtclsqlite3.SO = libtclsqlite3$(T.dll)
+libtclsqlite3.SO = msys-tclsqlite3$(T.dll)
$(libtclsqlite3.SO): $(T.tcl.env.sh) tclsqlite.o $(LIBOBJ)
$(T.tcl.env.source); \
$(T.link.shared) -o $@ tclsqlite.o \