diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-07-27 11:44:13 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-07-27 11:44:13 +0100 |
commit | 8847155563e25aa70663413f6a8dc9657ca79993 (patch) | |
tree | fe89e7044aeaac7f597bc6fd5b96af1ed528401b /reproduce/software/make/high-level.mk | |
parent | 33820ab02bd39faa10fe634dfd0de85764e1e96e (diff) |
DYLD_LIBRARY_PATH also fixed for macOS systems
Until now we were only setting the `LD_LIBRARY_PATH' environment variable
for GNU/Linux systems. But macOS systems use the `DYLD_LIBRARY_PATH'.
With this commit, for better control over the environment, we are also
fixing `DYLD_LIBRARY_PATH' in all the places that we are setting the
general environment variables.
Diffstat (limited to 'reproduce/software/make/high-level.mk')
-rw-r--r-- | reproduce/software/make/high-level.mk | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/reproduce/software/make/high-level.mk b/reproduce/software/make/high-level.mk index a953ca5..dee23ca 100644 --- a/reproduce/software/make/high-level.mk +++ b/reproduce/software/make/high-level.mk @@ -65,17 +65,18 @@ all: $(foreach p, $(top-level-programs), $(ibidir)/$(p)) \ # 2) Add `--noprofile --norc' to `.SHELLFLAGS' so doesn't load the # user's environment. .ONESHELL: -.SHELLFLAGS := --noprofile --norc -ec -export CCACHE_DISABLE := 1 -export PATH := $(ibdir) -export CXX := $(ibdir)/g++ -export CC := $(ibdir)/gcc -export SHELL := $(ibdir)/bash -export F77 := $(ibdir)/gfortran -export PKG_CONFIG_PATH := $(ildir)/pkgconfig +.SHELLFLAGS := --noprofile --norc -ec +export CCACHE_DISABLE := 1 +export PATH := $(ibdir) +export CXX := $(ibdir)/g++ +export CC := $(ibdir)/gcc +export SHELL := $(ibdir)/bash +export F77 := $(ibdir)/gfortran +export LD_RUN_PATH := $(ildir):$(il64dir) +export PKG_CONFIG_PATH := $(ildir)/pkgconfig +export LD_LIBRARY_PATH := $(ildir):$(il64dir) export PKG_CONFIG_LIBDIR := $(ildir)/pkgconfig -export LD_RUN_PATH := $(ildir):$(il64dir) -export LD_LIBRARY_PATH := $(ildir):$(il64dir) +export DYLD_LIBRARY_PATH := $(ildir):$(il64dir) # Building flags: # |