summaryrefslogtreecommitdiff
path: root/sqlite-drop-tcl-at-sign.patch
blob: a1391bb1a2d74aba6b499a1161e0fbd7fab2e0d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: sqlite/tool/buildtclext.tcl
==================================================================
--- a/tool/buildtclext.tcl
+++ a/tool/buildtclext.tcl
@@ -140,12 +140,13 @@
   if {[string length $OPTS]>1} {
     append LDFLAGS $OPTS
   }
-  set CMD [subst $cmd]
   if {$TCLMAJOR>8} {
     set OUT libtcl9sqlite$VERSION.$SUFFIX
   } else {
     set OUT libsqlite$VERSION.$SUFFIX
   }
+  set @ $OUT; # workaround for https://sqlite.org/forum/forumpost/6b1af7eb10884373
+  set CMD [subst $cmd]
 }
   
 # Show information about prior installs