Reverse the tcl configure's decision to "disable" the use of ranlib since
it's wrong. It "knows" that ranlib is not used on shared libraries, this is not a valid assumption since it exports this definition to the world via tclConfig.sh. :-( Hence, things like expect (to be updated) fall over because they were using ":" instead of "ranlib" on their static libraries.
This commit is contained in:
parent
7deead3e52
commit
a9a7d7ff2a
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# $Id: mkMakefile.sh,v 1.15 1996/10/30 08:44:18 peter Exp $
|
||||
# $Id: mkMakefile.sh,v 1.16 1996/10/31 15:57:25 peter Exp $
|
||||
#
|
||||
# This script generates a bmake Makefile for src/lib/libtcl
|
||||
#
|
||||
@ -45,7 +45,7 @@ echo '#
|
||||
# Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead
|
||||
#
|
||||
# Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version:
|
||||
# $Id: mkMakefile.sh,v 1.15 1996/10/30 08:44:18 peter Exp $
|
||||
# $Id: mkMakefile.sh,v 1.16 1996/10/31 15:57:25 peter Exp $
|
||||
#
|
||||
' | tr -d '$' >> ${LIBTCL}Makefile
|
||||
|
||||
@ -205,6 +205,7 @@ EOF
|
||||
|
||||
sed < ${SRCDIR}/unix/tclConfig.sh > ${LIBTCL}/tclConfig.sh \
|
||||
-e '/^TCL.*_LIB_SPEC=/s/-L.* //' \
|
||||
-e "/libtcl/s/\.so\.1\.0/.so.1.${SHLIB_MINOR}/"
|
||||
-e "/libtcl/s/\.so\.1\.0/.so.1.${SHLIB_MINOR}/" \
|
||||
-e "/RANLIB/s/:/ranlib/"
|
||||
|
||||
rm -f m.x ${SRCDIR}/unix/config.log ${SRCDIR}/unix/Makefile ${SRCDIR}/unix/config.cache ${SRCDIR}/unix/config.status ${SRCDIR}/unix/tclConfig.sh
|
||||
|
Loading…
Reference in New Issue
Block a user