summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/build b/build
index 94a8b89..72c5072 100755
--- a/build
+++ b/build
@@ -2,14 +2,20 @@
include ../source.mk
+TCL_V = $$(sed -n 's/Tcl-Version: //p' ../substvars)
+
nop:
@:
configure:
+ # Temporary hack for bootstrap on Debian.
+ tcl="/usr/lib/$(OPK_HOST_ARCH)/tcl$(TCL_V)"; \
+ [ -f /etc/debian_version ] && tcl="/usr/lib/tcl$(TCL_V)"; \
oh-autoconfigure -- \
--enable-shared \
--enable-threads \
- --disable-rpath
+ --disable-rpath \
+ --with-tcl="$${tcl}"
touch $@
build: configure