diff options
author | P. 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) |
commit | 4ee6b94bec0b1fc22540af02dc53a88187e95b90 (patch) | |
tree | dd2475fa0c41977f54c40d862a2b269312e10c56 | |
parent | d58330d87c693383bfd047dda0dae7c480ce252e (diff) |
build: Pass --with-tcl to configure.
-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 |