diff options
-rwxr-xr-x | build | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |