1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-05 06:01:04 +01:00

Merge pull request #91 from somasis/musl-fix

Fix building on musl libc
This commit is contained in:
James Crook
2016-01-22 18:09:24 +00:00

View File

@@ -2129,6 +2129,9 @@ bool VSTEffect::Load()
// symbols.
//
// Once we define a proper external API, the flags can be removed.
#ifndef RTLD_DEEPBIND
#define RTLD_DEEPBIND 0
#endif
void *lib = dlopen((const char *)wxString(realPath).ToUTF8(), RTLD_NOW | RTLD_LOCAL | RTLD_DEEPBIND);
if (!lib)
{