MSYS2-packages/sqlite/0007-sqlite3.36.0-Makefile.in-fix-libtclsqlite-package-installation-bug.patch
Jannick 4558ea2abb sqlite: Upgrade to 3.36.0
* PKGBUILD
  - upgrade version numbers and related hashes
  - rename patch
* Makefile.ext.in
  - add regexp.c to CSRC_IGNORE, since module is compiled into sqlite client
    since version 3.36.0
* 0007-sqlite3.36.0-Makefile.in-fix-libtclsqlite-package-installation-bug.patch
  - renamed from 0007-sqlite3.32.3-Makefile.in-fix-libtclsqlite-package-installation-bug.patch
  - remove patch about 'info sharedlibextension' which now works with tclsh
* 0007-sqlite3.32.3-Makefile.in-fix-libtclsqlite-package-installation-bug.patch
  - renamed
2021-06-21 23:27:33 +02:00

31 lines
1.0 KiB
Diff

From 64fe648e9cb54a0ee8ee9e9d7feefebcb2381adb Mon Sep 17 00:00:00 2001
From: Jannick <thirdedition@gmx.net>
Date: Sat, 8 Aug 2020 14:09:51 +0200
Subject: [PATCH] Makefile.in: fix libtclsqlite package installation bug
The shared object of libtclsqlite3 referenced by pkgIndex.tcl is NOT
placed next to pkgIndex.tcl after installation by libtool.
- using the flag -module instructs libtool to place the shared object
libtclsqlite3 in TCLLIBDIR upon installation.
---
Makefile.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index f92741f..589c9f6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -644,7 +644,7 @@ libsqlite3.la: $(LIBOBJ)
${ALLOWRELEASE} -rpath "$(libdir)" -version-info "8:6:8"
libtclsqlite3.la: tclsqlite.lo libsqlite3.la
- $(LTLINK) -no-undefined -o $@ tclsqlite.lo \
+ $(LTLINK) -module -no-undefined -o $@ tclsqlite.lo \
libsqlite3.la @TCL_STUB_LIB_SPEC@ $(TLIBS) \
-rpath "$(TCLLIBDIR)" \
-version-info "8:6:8" \
--
2.28.0.windows.1