From 409ebb9a031e428fb9e80056266f1c1a253cd28a Mon Sep 17 00:00:00 2001 From: Kylie McClain Date: Sat, 21 Nov 2015 17:04:43 -0500 Subject: [PATCH] Fix building on musl libc --- src/effects/VST/VSTEffect.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/effects/VST/VSTEffect.cpp b/src/effects/VST/VSTEffect.cpp index f7597d327..a1922363d 100644 --- a/src/effects/VST/VSTEffect.cpp +++ b/src/effects/VST/VSTEffect.cpp @@ -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) {