1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 00:29:41 +02:00

Fix building on musl libc

This commit is contained in:
Kylie McClain 2015-11-21 17:04:43 -05:00
parent dec93b3d16
commit 409ebb9a03

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