aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'pseudo_util.c')
-rw-r--r--pseudo_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudo_util.c b/pseudo_util.c
index bff33f1..7b942e4 100644
--- a/pseudo_util.c
+++ b/pseudo_util.c
@@ -652,7 +652,7 @@ pseudo_setupenv() {
if (!newenv) {
pseudo_diag("fatal: can't allocate new LD_LIBRARY_PATH variable.\n");
}
- snprintf(newenv, len, "%s:%s:%s64", ld_preload, libdir_path, libdir_path);
+ snprintf(newenv, len, "%s:%s:%s64", ld_library_path, libdir_path, libdir_path);
setenv("LD_LIBRARY_PATH", newenv, 1);
} else {
size_t len = strlen(libdir_path) + 1 + (strlen(libdir_path) + 2) + 1;