diff options
Diffstat (limited to 'libs/fst')
-rw-r--r-- | libs/fst/scanner.cc | 9 | ||||
-rw-r--r-- | libs/fst/wscript | 2 |
2 files changed, 10 insertions, 1 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); } diff --git a/libs/fst/wscript b/libs/fst/wscript index a987235ec0..465ba65840 100644 --- a/libs/fst/wscript +++ b/libs/fst/wscript @@ -42,7 +42,7 @@ def set_winegcc(self): def build(bld): VERSION = "%s.%s" % (bld.env['MAJOR'], bld.env['MINOR']) - if not (bld.is_defined('WINDOWS_VST_SUPPORT') or bld.is_defined('LXVST_SUPPORT')): + if not (bld.is_defined('WINDOWS_VST_SUPPORT') or bld.is_defined('LXVST_SUPPORT') or bld.is_defined ('MACVST_SUPPORT')): return if bld.is_defined('WINDOWS_VST_SUPPORT') and bld.env['build_target'] != 'mingw': |