summaryrefslogtreecommitdiff
path: root/libs/ardour/search_paths.cc
diff options
context:
space:
mode:
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 50ecac613e..789c9b6b48 100644
--- a/libs/ardour/search_paths.cc
+++ b/libs/ardour/search_paths.cc
@@ -163,6 +163,15 @@ route_template_search_path ()
return spath;
}
+Searchpath
+lua_search_path ()
+{
+ Searchpath spath (ardour_data_search_path());
+ spath.add_subdirectory_to_paths(lua_dir_name);
+
+ return spath;
+}
+
#ifdef PLATFORM_WINDOWS
const char*