#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"
#include "pbd/error.h"
#include "pbd/stl_delete.h"
-#include "pbd/fallback_folders.h"
#include "i18n.h"
}
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"))) {
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'):