Update weakjack, alternative macOS libjack paths
see also https://github.com/x42/weakjack/pull/13
This commit is contained in:
parent
6e72232636
commit
bc4ef3ff3d
@ -110,6 +110,21 @@ static void init_weak_jack(void)
|
||||
if (!lib) {
|
||||
lib = lib_open("/usr/local/lib/libjack.dylib");
|
||||
}
|
||||
if (!lib) {
|
||||
/* New Homebrew location */
|
||||
lib = lib_open("/opt/homebrew/lib/libjack.dylib");
|
||||
if (lib) {
|
||||
fprintf(stderr, "*** WEAK-JACK: using Homebrew\n");
|
||||
}
|
||||
}
|
||||
if (!lib) {
|
||||
/* MacPorts location */
|
||||
lib = lib_open("/opt/local/lib/libjack.dylib");
|
||||
if (lib) {
|
||||
fprintf(stderr, "*** WEAK-JACK: using MacPorts\n");
|
||||
}
|
||||
}
|
||||
|
||||
#elif (defined PLATFORM_WINDOWS)
|
||||
# if defined(__x86_64__) || defined(_M_X64) || defined(__amd64__)
|
||||
lib = lib_open("libjack64.dll");
|
||||
|
Loading…
Reference in New Issue
Block a user