Add LV2_PATH to bundle path.

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2924 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2008-01-16 01:53:33 +00:00
parent fce4c55b84
commit cc078748e6

View file

@ -132,6 +132,16 @@ fixup_bundle_environment ()
path += "/../Plugins";
setenv ("LADSPA_PATH", path.c_str(), 1);
cstr = getenv ("LV2_PATH");
if (cstr) {
path = cstr;
path += ':';
}
path = dir_path;
path += "/../Plugins";
setenv ("LV2_PATH", path.c_str(), 1);
path = dir_path;
path += "/../Frameworks/clearlooks";