summaryrefslogtreecommitdiff
path: root/libs/ardour/search_paths.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2014-03-10 14:42:45 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2014-03-10 16:24:07 +0000
commit8a44aa9aba635ea43429dc929ebcd0d3d57da23c (patch)
tree6824ff66798bb650d2e0df159e085e0f08764b35 /libs/ardour/search_paths.cc
parentff053653e1110eb6082a8f68972cedd0afeeb989 (diff)
Transfer 'lv2_bundled_search_path()' into 'libs/ardour/search_paths.cc'
Diffstat (limited to 'libs/ardour/search_paths.cc')
-rw-r--r--libs/ardour/search_paths.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/ardour/search_paths.cc b/libs/ardour/search_paths.cc
index 45a2e13974..0fc9f0c4f5 100644
--- a/libs/ardour/search_paths.cc
+++ b/libs/ardour/search_paths.cc
@@ -100,4 +100,13 @@ ladspa_search_path ()
return spath_env + spath;
}
+Searchpath
+lv2_bundled_search_path ()
+{
+ Searchpath spath( ardour_dll_directory () );
+ spath.add_subdirectory_to_paths ("LV2");
+
+ return spath;
+}
+
} // namespace ARDOUR