summaryrefslogtreecommitdiff
path: root/libs/fst/scanner.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/fst/scanner.cc')
-rw-r--r--libs/fst/scanner.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/fst/scanner.cc b/libs/fst/scanner.cc
index d56bdb168c..1f8a90e7a8 100644
--- a/libs/fst/scanner.cc
+++ b/libs/fst/scanner.cc
@@ -31,6 +31,9 @@
#ifdef LXVST_SUPPORT
#include "../ardour/linux_vst_support.cc"
#endif
+#ifdef MACVST_SUPPORT
+#include "../ardour/mac_vst_support.cc"
+#endif
#include "../ardour/filesystem_paths.cc"
#include "../ardour/directory_names.cc"
@@ -117,6 +120,12 @@ int main (int argc, char **argv) {
infos = vstfx_get_info_fst(dllpath);
}
#endif
+
+#ifdef MACVST_SUPPORT
+ else if (slen > 4 && 0 == g_ascii_strcasecmp (&dllpath[slen-4], ".vst")) {
+ infos = vstfx_get_info_mac(dllpath);
+ }
+#endif
else {
fprintf(stderr, "'%s' is not a supported VST plugin.\n", dllpath);
}