summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-12-08 15:22:03 (EST)
committer P. J. McDermott <pjm@nac.net>2013-12-08 15:22:03 (EST)
commitbe020f6711cb172ca3898a7eb33825770954824d (patch)
tree6617daaf06356b906c00c667cf514b2d9a6db4f0
parent6784d105ee7f04d74cf633075aca5fe53c5e7569 (diff)
build: Fix bootstrap on Debian.
-rwxr-xr-xbuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/build b/build
index bda29f6..d5c1a88 100755
--- a/build
+++ b/build
@@ -28,6 +28,12 @@ install: build
oh-autoinstall -s src/unix -B src/unix -- \
TCL_LIBRARY='/usr/share/tcltk/$(OPK_SOURCE)' \
MANN_INSTALL_DIR='$$(MAN_INSTALL_DIR)/man3'
+ # TODO: Temporary hack for bootstrapping on Debian with tcl8.6 <
+ # 8.6.0-2. Fixes this error:
+ # /usr/bin/expect: error while loading shared libraries:
+ # libtcl8.6.so.0: cannot open shared object file: No such file or
+ # directory
+ ln -sf libtcl$(V).so dest/usr/lib/$(OPK_HOST_ARCH)/libtcl$(V).so.0
# Move tcl*Config.sh.
mkdir -p dest/usr/lib/$(OPK_HOST_ARCH)/$(OPK_SOURCE)
mv dest/usr/lib/$(OPK_HOST_ARCH)/tcl*Config.sh \