aboutsummaryrefslogtreecommitdiff
path: root/reproduce/analysis
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2019-07-27 11:44:13 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2019-07-27 11:44:13 +0100
commit8847155563e25aa70663413f6a8dc9657ca79993 (patch)
treefe89e7044aeaac7f597bc6fd5b96af1ed528401b /reproduce/analysis
parent33820ab02bd39faa10fe634dfd0de85764e1e96e (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/analysis')
-rw-r--r--reproduce/analysis/make/initialize.mk15
1 files changed, 8 insertions, 7 deletions
diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk
index d176489..d2b026e 100644
--- a/reproduce/analysis/make/initialize.mk
+++ b/reproduce/analysis/make/initialize.mk
@@ -108,14 +108,15 @@ curdir := $(shell echo $$(pwd))
# avoid conflicts with existing TeX Live solutions. Later (in `paper.mk'),
# we are also going to overwrite `TEXINPUTS' just before `pdflatex'.
.ONESHELL:
-.SHELLFLAGS = -ec
-export TEXINPUTS :=
-export CCACHE_DISABLE := 1
-export PATH := $(installdir)/bin
+.SHELLFLAGS = -ec
+export TEXINPUTS :=
+export CCACHE_DISABLE := 1
+export PATH := $(installdir)/bin
+export LDFLAGS := -L$(installdir)/lib
+export SHELL := $(installdir)/bin/bash
+export CPPFLAGS := -I$(installdir)/include
export LD_LIBRARY_PATH := $(installdir)/lib
-export LDFLAGS := -L$(installdir)/lib
-export SHELL := $(installdir)/bin/bash
-export CPPFLAGS := -I$(installdir)/include
+export DYLD_LIBRARY_PATH := $(installdir)/lib