summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-09-19 12:26:10 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-09-19 12:26:10 (EDT)
commit4ee6b94bec0b1fc22540af02dc53a88187e95b90 (patch)
treedd2475fa0c41977f54c40d862a2b269312e10c56
parentd58330d87c693383bfd047dda0dae7c480ce252e (diff)
build: Pass --with-tcl to configure.
-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