From a7e3b9032dacfb42a5ba96cd9e372569da96fe11 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Tue, 6 Sep 2016 17:55:13 +0200 Subject: [PATCH] Fix jpeg installation on OSX --- bootstrap-conda.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootstrap-conda.sh b/bootstrap-conda.sh index ac08f5c..3629310 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..." -- GitLab