diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-02 10:53:25 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-02 10:53:25 -0500 |
commit | b8419ae7cdf55c4bce8a0ce9b102c2edd6dd0d1f (patch) | |
tree | b68ed5b7eff6023140d976075cd6570eabcd831f /libs/ardour | |
parent | 8ba449bc4eeb5fec29f84c1a246213fed8771d72 (diff) |
use "new" VST search path code and adjust build system to reflect new source files
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/plugin_manager.cc | 8 | ||||
-rw-r--r-- | libs/ardour/wscript | 1 |
2 files changed, 3 insertions, 6 deletions
diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index bb3b5c7aec..b3117fcbb6 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -63,6 +63,7 @@ #include "ardour/rc_configuration.h" #include "ardour/ladspa_search_path.h" +#include "ardour/vst_search_path.h" #ifdef LV2_SUPPORT #include "ardour/lv2_plugin.h" @@ -83,7 +84,6 @@ #include "pbd/error.h" #include "pbd/stl_delete.h" -#include "pbd/fallback_folders.h" #include "i18n.h" @@ -153,11 +153,7 @@ PluginManager::PluginManager () } if (windows_vst_path.length() == 0) { -#ifdef PLATFORM_WINDOWS - windows_vst_path = PBD::get_platform_fallback_folder (PBD::FOLDER_VST); -#else - windows_vst_path = "/usr/local/lib/vst:/usr/lib/vst"; -#endif + windows_vst_path = vst_search_path (); } if ((s = getenv ("LXVST_PATH"))) { diff --git a/libs/ardour/wscript b/libs/ardour/wscript index 24a4590d08..10ee3a7dbd 100644 --- a/libs/ardour/wscript +++ b/libs/ardour/wscript @@ -216,6 +216,7 @@ libardour_sources = [ 'user_bundle.cc', 'utils.cc', 'version.cc', + 'vst_search_path.cc', 'vumeterdsp.cc', 'worker.cc' ] |