From a218b814196983e00c19c3bca8f8dc9698334a13 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Tue, 4 Dec 2018 20:42:56 +0000 Subject: Shared library absolute address fixed in Libgit2 and WCSLIB on Mac OS The build systems of Libgit2 and WCSLIB on Mac OS does not account for installation in non-standard addresses: `Libgit2' keeps the absolute address of its build directory (not the installation directory) and WCSLIB doesn't write any absolute address at all (so the system uses the first one it finds). To address these issues, we are now using Mac OS's `install_name_tool' program to fix the absolute path within the installed shared library. Since the version of the library is actually present in its shared library name, in `dependency-versions.mk' we have also separated these two libraries so later when their version is changed, we are careful in correcting the shared library name also. --- reproduce/config/pipeline/dependency-versions.mk | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'reproduce/config/pipeline') diff --git a/reproduce/config/pipeline/dependency-versions.mk b/reproduce/config/pipeline/dependency-versions.mk index 99d55ee..dc161c6 100644 --- a/reproduce/config/pipeline/dependency-versions.mk +++ b/reproduce/config/pipeline/dependency-versions.mk @@ -36,7 +36,15 @@ cfitsio-version = 3.45 curl-version = 7.62.0 gsl-version = 2.5 libjpeg-version = v9b -libgit2-version = 0.26.0 libtiff-version = 4.0.10 -wcslib-version = 6.2 zlib-version = 1.2.11 + +# Special libraries +# ----------------- +# +# The shared library name of the following libraries is explicity mentioned +# the software build Makefiles (`reproduce/src/make/dependencies*.mk'). If +# you change their version, also please change the explicit shared library +# names also. +libgit2-version = 0.26.0 +wcslib-version = 6.2 -- cgit v1.2.1