aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-03-10 10:24:20 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-03-10 10:24:20 -0400
commit036c47663b846cfdee9b05992d848aaff6153347 (patch)
treea43f0b8d064f6f7422966fdad6f75d2f2ea3fc20
parent5ab3003fdab6e62fedd5f2f2fd9a31e343da08e3 (diff)
downloadspmc-036c47663b846cfdee9b05992d848aaff6153347.tar.gz
Remove random "$" from LD_LIBRARY_PATH
* Add LD_RUN_PATH
-rwxr-xr-xscripts/spmbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/spmbuild b/scripts/spmbuild
index 5f802e1..b460bf5 100755
--- a/scripts/spmbuild
+++ b/scripts/spmbuild
@@ -153,7 +153,8 @@ function spm_build_initialize_stage2() {
fi
source <(spm_build_mkruntime "${SPM_BUILD_RUNTIME}")
- export LD_LIBRARY_PATH="${SPM_BUILD_RUNTIME}/lib$:${SPM_BUILD_RUNTIME}/lib64"
+ export LD_LIBRARY_PATH="${SPM_BUILD_RUNTIME}/lib:${SPM_BUILD_RUNTIME}/lib64"
+ export LD_RUN_PATH="${LD_LIBRARY_PATH}"
}
function spm_build_cleanup() {