summaryrefslogtreecommitdiffstats
path: root/macosx/GNUmakefile
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2018-11-10 07:29:08 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2018-11-10 07:29:08 (GMT)
commitcbbc8d66b85371d63ec183c6712ae6c769ab9403 (patch)
tree622a92f5146c5468c67fd0ef3b1b49bb9a5401c5 /macosx/GNUmakefile
parent155f409a383ca0411146efb82246e52ec12270fe (diff)
downloadtcl-cbbc8d66b85371d63ec183c6712ae6c769ab9403.zip
tcl-cbbc8d66b85371d63ec183c6712ae6c769ab9403.tar.gz
tcl-cbbc8d66b85371d63ec183c6712ae6c769ab9403.tar.bz2
Make the macosx build able to succeed
Diffstat (limited to 'macosx/GNUmakefile')
-rw-r--r--macosx/GNUmakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/macosx/GNUmakefile b/macosx/GNUmakefile
index 54eea8e..a1b7040 100644
--- a/macosx/GNUmakefile
+++ b/macosx/GNUmakefile
@@ -180,8 +180,10 @@ ifeq (${BUILD_STYLE}_${EMBEDDED_BUILD},Development_)
# Deployment build can be installed on top
# of Development build without overwriting
# the debug library
- @cd "${INSTALL_ROOT}${LIBDIR}/${PRODUCT_NAME}.framework/Versions/${VERSION}" && \
- ln -f "${PRODUCT_NAME}" "${PRODUCT_NAME}_debug"
+ @if [ -d "${INSTALL_ROOT}${LIBDIR}/${PRODUCT_NAME}.framework/Versions/${VERSION}" ]; then \
+ cd "${INSTALL_ROOT}${LIBDIR}/${PRODUCT_NAME}.framework/Versions/${VERSION}"; \
+ ln -f "${PRODUCT_NAME}" "${PRODUCT_NAME}_debug"; \
+ fi
endif
clean-${PROJECT}: %-${PROJECT}: