diff --git a/bootstrap-conda.sh b/bootstrap-conda.sh index ac08f5cb1f9ee4cec06a96a014f85901d9fedc14..3629310ce159c50cdffbecf47e07fe7ca05fc9de 100755 --- a/bootstrap-conda.sh +++ b/bootstrap-conda.sh @@ -44,6 +44,9 @@ if [ ! -d ${PREFIX} ]; then curl --silent https://gitlab.idiap.ch/bob/bob.admin/raw/master/${ARCH}/devel-py${pyver}.txt > env.txt echo "[++] Bootstrapping conda installation at ${PREFIX}..." run_cmd ${CONDA_FOLDER}/bin/conda create --prefix ${PREFIX} --file env.txt --yes + if [ "${ARCH}" == "macosx" && -e "${PREFIX}/lib/libjpeg.8.dylib" ]; then + run_cmd install_name_tool -id @rpath/libjpeg.8.dylib ${PREFIX}/lib/libjpeg.8.dylib + fi run_cmd ${CONDA_FOLDER}/bin/conda clean --lock else echo "[!!] Prefix directory ${PREFIX} exists, not re-installing..."