1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 08:29:27 +02:00

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.
This commit is contained in:
Leland Lucius 2020-02-05 15:30:05 -06:00
parent 703f59d709
commit df1aeb8f3f

View File

@ -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)