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:
parent
dec93b3d16
commit
409ebb9a03
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user