summaryrefslogtreecommitdiff
path: root/sqlite-3.48.0-buildtclext.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite-3.48.0-buildtclext.patch')
-rw-r--r--sqlite-3.48.0-buildtclext.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sqlite-3.48.0-buildtclext.patch b/sqlite-3.48.0-buildtclext.patch
new file mode 100644
index 0000000..441b679
--- /dev/null
+++ b/sqlite-3.48.0-buildtclext.patch
@@ -0,0 +1,11 @@
+--- a/tool/buildtclext.tcl 2024-11-18 14:01:05.040080030 +0800
++++ b/tool/buildtclext.tcl 2024-11-18 14:01:27.998394871 +0800
+@@ -232,7 +232,7 @@
+
+ # Generate and execute the command with which to do the compilation.
+ #
+- set cmd "$CMD tclsqlite3.c -o $OUT $LIBS"
++ set cmd "$CMD tclsqlite3.c -o $OUT $LIBS -lm"
+ puts $cmd
+ file delete -force $OUT
+ catch {exec {*}$cmd} errmsg