diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-12-04 20:42:56 +0000 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-12-04 20:53:13 +0000 |
commit | a218b814196983e00c19c3bca8f8dc9698334a13 (patch) | |
tree | 01d1451608334315a304d6f991514dc328e96bc4 /reproduce/config | |
parent | fa912a33396487aa213fbc3cf66305fdbfd312de (diff) |
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.
Diffstat (limited to 'reproduce/config')
-rw-r--r-- | reproduce/config/pipeline/dependency-versions.mk | 12 |
1 files changed, 10 insertions, 2 deletions
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 |