Skip to content

Commit

Permalink
Use dlmopen for portaudio jackbridge
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Feb 5, 2024
1 parent 1df84f6 commit d1c0cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/portaudio19/04_jackbridge-mod-desktop.patch
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ index 0000000..facfb53
+ const char* const filename = filenameEnv != NULL ? filenameEnv : "libjack.so.0";
+ #endif
+
+ void* const lib = dlopen(filename, RTLD_NOW|RTLD_LOCAL);
+ void* const lib = dlmopen(LM_ID_NEWLM, filename, RTLD_NOW|RTLD_LOCAL);
+
+ if (lib == NULL)
+ {
Expand Down

0 comments on commit d1c0cf4

Please sign in to comment.