Nonlazy resolution of symbols at load time for modules...
... Forcing appropriate failure to load modules with unsatisfied symbols on all platforms.
This commit is contained in:
parent
e52115630a
commit
dcd8bca896
|
@ -109,7 +109,7 @@ bool Module::Load()
|
|||
|
||||
auto ShortName = wxFileName(mName).GetName();
|
||||
|
||||
if (!mLib->Load(mName, wxDL_LAZY | wxDL_QUIET)) {
|
||||
if (!mLib->Load(mName, wxDL_NOW | wxDL_QUIET | wxDL_GLOBAL)) {
|
||||
auto Error = wxString(wxSysErrorMsg());
|
||||
AudacityMessageBox(XO("Unable to load the \"%s\" module.\n\nError: %s").Format(ShortName, Error),
|
||||
XO("Module Unsuitable"));
|
||||
|
|
Loading…
Reference in New Issue