aboutsummaryrefslogtreecommitdiff
path: root/scripts/spmbuild
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/spmbuild')
-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() {