aboutsummaryrefslogtreecommitdiff
path: root/sqlite3/build-ext
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite3/build-ext')
-rwxr-xr-xsqlite3/build-ext10
1 files changed, 10 insertions, 0 deletions
diff --git a/sqlite3/build-ext b/sqlite3/build-ext
new file mode 100755
index 0000000..a6fa5c3
--- /dev/null
+++ b/sqlite3/build-ext
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# This is a small wrapper around build-jim-ext
+# which knows it is running in <srcdir>/sqlite3 and
+# so can find a host version of jimsh/tclsh
+
+# Prefer jimsh in .. if it exists
+PATH=..:$PATH; export PATH
+asdir="`dirname "$0"`/../autosetup"
+exec "`$asdir/find-tclsh`" ../build-jim-ext "$@"