Mercurial > mxe-octave
changeset 4080:fc075c6c9a0b
Include lib64 directory in set env script
* tools/set-mxe-env.sh.in: if enable-lib64-directory, add lib64 directory to libpath
author | John Donoghue |
---|---|
date | Tue, 12 Jan 2016 08:34:27 -0500 |
parents | 8f22781fe395 |
children | d5757727d1dd |
files | tools/set-mxe-env.sh.in |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/set-mxe-env.sh.in Mon Jan 11 13:38:29 2016 -0500 +++ b/tools/set-mxe-env.sh.in Tue Jan 12 08:34:27 2016 -0500 @@ -15,6 +15,10 @@ MXE_LIB_PATH="$MXEDIR/usr/$HOST/lib" fi + if [ "@ENABLE_LIB64_DIRECTORY@" = "yes" ]; then + MXE_LIB_PATH="$MXE_LIB_PATH:${MXE_LIB_PATH}64" + fi + export PATH="$MXE_PATH:$PATH" export CPPFLAGS="-I$MXE_INC_PATH" export LDFLAGS="-L$MXE_LIB_PATH"