commit 4c6822497a05b7733fbff2e98e12b5d38b21e3e8
parent 4a698e2e6b06b6e34b05c0c4a2318f96f82e6938
Author: Robin Gareus <robin@gareus.org>
Date: Fri, 5 Jan 2018 07:44:54 +0100
Fix uninitialized variable (OSX libzest lookup)
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp b/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp
@@ -61,8 +61,7 @@ public:
if(!handle)
handle = LoadLibrary("libzest.dll");
#elif defined __APPLE__
- if(!handle) // LV2
- handle = dlopen("@loader_path/libzest.dylib", RTLD_LAZY);
+ handle = dlopen("@loader_path/libzest.dylib", RTLD_NOW | RTLD_LOCAL);
if(!handle) // VST
handle = dlopen("@loader_path/../Resources/libzest.dylib", RTLD_LAZY);
#else