summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-03-02 10:53:25 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-03-02 10:53:25 -0500
commitb8419ae7cdf55c4bce8a0ce9b102c2edd6dd0d1f (patch)
treeb68ed5b7eff6023140d976075cd6570eabcd831f /libs
parent8ba449bc4eeb5fec29f84c1a246213fed8771d72 (diff)
use "new" VST search path code and adjust build system to reflect new source files
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/plugin_manager.cc8
-rw-r--r--libs/ardour/wscript1
-rw-r--r--libs/pbd/wscript2
3 files changed, 4 insertions, 7 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'
]
diff --git a/libs/pbd/wscript b/libs/pbd/wscript
index fc62641213..b18552af36 100644
--- a/libs/pbd/wscript
+++ b/libs/pbd/wscript
@@ -149,7 +149,7 @@ def build(bld):
if bld.env['build_target'] == 'x86_64':
obj.defines += [ 'USE_X86_64_ASM' ]
if bld.env['build_target'] == 'mingw':
- obj.source += [ 'fallback_folders.cc' ]
+ obj.source += [ 'windows_special_dirs.cc' ]
obj.linkflags += ['-lole']
if bld.env['BUILD_TESTS'] and bld.is_defined('HAVE_CPPUNIT'):