summaryrefslogtreecommitdiff
path: root/media-sound/zynaddsubfx/files/zyn-fusion-ui-3.0.6-libzest_location.patch
blob: 4652217bf3310f865f8d71c2b5cf74037dd61781 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- i/test-libversion.c
+++ w/test-libversion.c
@@ -660,7 +660,7 @@ int main(int argc, char **argv)
     if(!handle)
         handle = dlopen("libzest.so", RTLD_LAZY);
     if(!handle)
-        handle = dlopen("/opt/zyn-fusion/libzest.so", RTLD_LAZY);
+        handle = dlopen("@GENTOO_PORTAGE_EPREFIX@/usr/@GENTOO_LIBDIR@/zynaddsubfx/libzest.so", RTLD_LAZY);
 #endif
     if(!handle) {
         printf("[ERROR] Cannot Open libzest.so\n");