13
0

change default search path for linux VST to use lib64 as appropriate

git-svn-id: svn://localhost/ardour2/branches/3.0@10112 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-09-21 17:51:27 +00:00
parent 4da9b2caac
commit b875f1edca

View File

@ -628,13 +628,14 @@ PluginManager::vst_discover (string path)
void
PluginManager::lxvst_refresh ()
{
if (_lxvst_plugin_info)
if (_lxvst_plugin_info) {
_lxvst_plugin_info->clear ();
else
} else {
_lxvst_plugin_info = new ARDOUR::PluginInfoList();
}
if (lxvst_path.length() == 0) {
lxvst_path = "/usr/local/lib/lxvst:/usr/lib/lxvst";
lxvst_path = "/usr/local/lib64/lxvst:/usr/local/lib/lxvst:/usr/lib64/lxvst:/usr/lib/lxvst";
}
lxvst_discover_from_path (lxvst_path);