diff options
author | das <das@noemail.net> | 2006-10-16 18:41:24 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2006-10-16 18:41:24 (GMT) |
commit | 5693aebe0119d1b3ec8024a295748e30baccdef9 (patch) | |
tree | e9f59b4bacf228f286426398eabb8b58a1505d0f /macosx/GNUmakefile | |
parent | 64d943e50e07c57423c74d44cecd3f7a9411bd80 (diff) | |
download | tcl-5693aebe0119d1b3ec8024a295748e30baccdef9.zip tcl-5693aebe0119d1b3ec8024a295748e30baccdef9.tar.gz tcl-5693aebe0119d1b3ec8024a295748e30baccdef9.tar.bz2 |
* unix/tclUnixThrd.c (TclpThreadGetStackSize): Darwin: fix for main
thread, where pthread_get_stacksize_np() returns incorrect info.
* macosx/GNUmakefile: don't redo prebinding of non-prebound binaires.
FossilOrigin-Name: 8ff3943783431ffa32916db94e7f3951d03821da
Diffstat (limited to 'macosx/GNUmakefile')
-rw-r--r-- | macosx/GNUmakefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/macosx/GNUmakefile b/macosx/GNUmakefile index 950ed50..7bcedf2 100644 --- a/macosx/GNUmakefile +++ b/macosx/GNUmakefile @@ -4,7 +4,7 @@ # uses the standard unix build system in tcl/unix (which can be used directly instead of this # if you are not using the tk/macosx projects). # -# RCS: @(#) $Id: GNUmakefile,v 1.3 2006/04/12 00:58:01 das Exp $ +# RCS: @(#) $Id: GNUmakefile,v 1.4 2006/10/16 18:41:25 das Exp $ # ######################################################################################################## @@ -154,14 +154,17 @@ ifeq (${EMBEDDED_BUILD},1) @rm -f "${INSTALL_ROOT}${BINDIR}/${TCLSH}" && \ rmdir -p "${INSTALL_ROOT}${BINDIR}" 2>&- || true else -# redo prebinding - @cd ${INSTALL_ROOT}/ && \ +# redo prebinding (when not building for Mac OS X 10.4 or later only) + @if [ "`echo "$${MACOSX_DEPLOYMENT_TARGET}" | \ + awk -F '10\\.' '{print int($$2)}'`" -lt 4 -a "`echo "$${CFLAGS}" | \ + awk -F '-mmacosx-version-min=10\\.' '{print int($$2)}'`" -lt 4 ]; \ + then cd ${INSTALL_ROOT}/; \ if [ ! -d usr/lib ]; then mkdir -p usr && ln -fs /usr/lib usr/ && RM_USRLIB=1; fi; \ if [ ! -d System ]; then ln -fs /System . && RM_SYSTEM=1; fi; \ redo_prebinding -r . "./${LIBDIR}/${PRODUCT_NAME}.framework/Versions/${VERSION}/${PRODUCT_NAME}"; \ redo_prebinding -r . "./${BINDIR}/${TCLSH}"; \ if [ -n "$${RM_USRLIB:-}" ]; then rm -f usr/lib; rmdir -p usr 2>&-; fi; \ - if [ -n "$${RM_SYSTEM:-}" ]; then rm -f System; fi + if [ -n "$${RM_SYSTEM:-}" ]; then rm -f System; fi; fi # install tclsh symbolic link @ln -fs ${TCLSH} ${INSTALL_ROOT}${BINDIR}/tclsh endif |