summaryrefslogtreecommitdiff
path: root/libs/ardour/filesystem_paths.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/filesystem_paths.cc')
-rw-r--r--libs/ardour/filesystem_paths.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/filesystem_paths.cc b/libs/ardour/filesystem_paths.cc
index 55a8a9983f..465d07bddc 100644
--- a/libs/ardour/filesystem_paths.cc
+++ b/libs/ardour/filesystem_paths.cc
@@ -49,4 +49,12 @@ user_config_directory ()
return p;
}
+sys::path
+system_module_directory ()
+{
+ sys::path module_directory(MODULE_DIR);
+ module_directory /= "ardour2";
+ return module_directory;
+}
+
} // namespace ARDOUR