From 8c7f2c93f07b96ca4c81c69775093ea711945c99 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 24 Aug 2021 21:57:41 +0200 Subject: [PATCH] VST3: Ignore .vst3 dll in bundle of wrong architecture --- libs/ardour/vst3_scan.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/vst3_scan.cc b/libs/ardour/vst3_scan.cc index 4f1a924af6..5de69c64b8 100644 --- a/libs/ardour/vst3_scan.cc +++ b/libs/ardour/vst3_scan.cc @@ -309,7 +309,7 @@ ARDOUR::module_path_vst3 (string const& path) std::string p1 = Glib::path_get_dirname (path); std::string p2 = Glib::path_get_dirname (p1); std::string p3 = Glib::path_get_dirname (p2); - if ( Glib::path_get_basename (p1) == vst3_bindir () + if ( (Glib::path_get_basename (p1) == "x86_64-win" || Glib::path_get_basename (p1) == "x86-win") && Glib::path_get_basename (p2) == "Contents" && Glib::path_get_basename (p3) == Glib::path_get_basename (path) ) {