mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
Update weakjack, alternative macOS libjack paths
see also https://github.com/x42/weakjack/pull/13
This commit is contained in:
parent
6e72232636
commit
bc4ef3ff3d
1 changed files with 15 additions and 0 deletions
|
|
@ -110,6 +110,21 @@ static void init_weak_jack(void)
|
||||||
if (!lib) {
|
if (!lib) {
|
||||||
lib = lib_open("/usr/local/lib/libjack.dylib");
|
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)
|
#elif (defined PLATFORM_WINDOWS)
|
||||||
# if defined(__x86_64__) || defined(_M_X64) || defined(__amd64__)
|
# if defined(__x86_64__) || defined(_M_X64) || defined(__amd64__)
|
||||||
lib = lib_open("libjack64.dll");
|
lib = lib_open("libjack64.dll");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue