zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 4b4bbcd9e83d97e607a0dfd8d3625b6fa4162129
parent 9d8501476a4a777010604e1dcac1474afcef0a21
Author: Robin Gareus <robin@gareus.org>
Date:   Fri,  5 Jan 2018 01:43:56 +0100

Add path to libzest for MacVST

Diffstat:
Msrc/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp b/src/Plugin/ZynAddSubFX/ZynAddSubFX-UI-Zest.cpp @@ -61,8 +61,10 @@ public: if(!handle) handle = LoadLibrary("libzest.dll"); #elif defined __APPLE__ - if(!handle) + if(!handle) // LV2 handle = dlopen("@loader_path/libzest.dylib", RTLD_LAZY); + if(!handle) // VST + handle = dlopen("@loader_path/../Resources/libzest.dylib", RTLD_LAZY); #else handle = dlopen("./libzest.so", RTLD_LAZY); if(!handle)