From df1aeb8f3f261fdd512888dda094d13acb9a7d83 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Wed, 5 Feb 2020 15:30:05 -0600 Subject: [PATCH] Ensure suil can find the interface modules Suil uses loadable modules to embed different UI toolkits within other toolkits, so he needs to be told where to find them. --- src/effects/lv2/LoadLV2.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/effects/lv2/LoadLV2.cpp b/src/effects/lv2/LoadLV2.cpp index 16a8c8c3b..f39a32c38 100755 --- a/src/effects/lv2/LoadLV2.cpp +++ b/src/effects/lv2/LoadLV2.cpp @@ -182,6 +182,9 @@ bool LV2EffectsModule::Initialize() newVar += wxT(":/usr/local/lib/lv2"); newVar += wxT(":/usr/lib/lv2"); newVar += wxT(":") + libdir.GetPath(); + + // Tell SUIL where to find his GUI support modules + wxSetEnv(wxT("SUIL_MODULE_DIR"), wxT(PKGLIBDIR)); #endif // Start with the LV2_PATH environment variable (if any)