FS-3790 --resolve

Changed from using putenv to setenv like the other one
This commit is contained in:
Marc Olivier Chouinard 2011-12-28 16:46:39 -05:00
parent 316a4bd9d7
commit 070887522d
1 changed files with 2 additions and 0 deletions

View File

@ -634,6 +634,8 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_ladspa_load)
setenv("LADSPA_PATH", "/usr/lib64/ladspa/:/usr/local/lib/ladspa", 1);
} else if (switch_directory_exists("/usr/lib/ladspa/", pool) == SWITCH_STATUS_SUCCESS) {
setenv("LADSPA_PATH", "/usr/lib/ladspa/:/usr/local/lib/ladspa", 1);
} else if (switch_directory_exists("/usr/local/lib/ladspa/", pool) == SWITCH_STATUS_SUCCESS) {
setenv("LADSPA_PATH", "/usr/local/lib/ladspa", 1);
}
}