summaryrefslogtreecommitdiff
path: root/setup_guile_test_env.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup_guile_test_env.in')
-rw-r--r--setup_guile_test_env.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_guile_test_env.in b/setup_guile_test_env.in
index 23456f31d..ee7e9ea46 100644
--- a/setup_guile_test_env.in
+++ b/setup_guile_test_env.in
@@ -24,7 +24,7 @@ function add_local_paths(){
fi
[ -n "$1" ] && prepend GUILE_LOAD_PATH "$1"
[ -n "$2" ] && prepend LTDL_LIBRARY_PATH "$2/.libs"
- [ -n "$3" ] && prepend LTDL_LIBRARY_PATH "$3/.libs"
+ [ -n "$3" -a "$2" != "$3" ] && prepend LTDL_LIBRARY_PATH "$3/.libs"
[ -n "$3" ] && prepend GUILE_LOAD_PATH "$3"
}