summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-06-19 05:18:02 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2015-06-19 05:18:06 (GMT)
commit465131a2b67fd712724fd7ecedd7138bbf85b7d6 (patch)
tree465c360d919d01956814aac0d428cbd6c5f4202e
parent7124e13dcdb4ddc8c478b26626ce4cae1a104d3a (diff)
downloadmxe-465131a2b67fd712724fd7ecedd7138bbf85b7d6.zip
mxe-465131a2b67fd712724fd7ecedd7138bbf85b7d6.tar.gz
mxe-465131a2b67fd712724fd7ecedd7138bbf85b7d6.tar.bz2
Add LD_LIBRARY_PATH & ACLOCAL_PATH to safe envvars
Fixes #697.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b932cc1..b095e51 100644
--- a/Makefile
+++ b/Makefile
@@ -124,7 +124,7 @@ define MXE_GET_GITHUB_SHA
endef
# use a minimal whitelist of safe environment variables
-ENV_WHITELIST := PATH LANG MAKE% MXE% %PROXY %proxy
+ENV_WHITELIST := PATH LANG MAKE% MXE% %PROXY %proxy LD_LIBRARY_PATH ACLOCAL_PATH
unexport $(filter-out $(ENV_WHITELIST),$(shell env | cut -d '=' -f1))
SHORT_PKG_VERSION = \