Make LD_LIBRARY_PATH available during build like during later usage

This commit is contained in:
Michael Raskin 2014-11-13 11:11:16 +03:00
parent def6028855
commit 4beebeb6b3

View file

@ -12,6 +12,9 @@ shift
export NIX_LISP NIX_LISP_LOAD_FILE NIX_LISP_EXEC_CODE NIX_LISP_COMMAND NIX_LISP_FINAL_PARAMETERS
test -n "$NIX_LISP_LD_LIBRARY_PATH" &&
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH${LD_LIBRARY_PATH+:}$NIX_LISP_LD_LIBRARY_PATH"
case "$NIX_LISP" in
sbcl)
NIX_LISP_LOAD_FILE="--load"