jackaudio / jack1

jack1 codebase
Other
250 stars 71 forks source link

configure's use of mmacosx-version-min breaks compile on Mojave #81

Closed DomT4 closed 5 years ago

DomT4 commented 5 years ago

configure sets -mmacosx-version-min=10.4 which results in jack attempting to link against -lgcc_s.10.4 during compile.

Both libgcc_s.10.4.dylib and libgcc_s.10.5.dylib were removed in macOS 10.14, so the build fails like this:

ld: library not found for -lgcc_s.10.4
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libjack.la] Error 1
make: *** [install-recursive] Error 1

-mmacosx-version-min=10.6 seems to be the absolute minimum if you intend to support macOS Mojave & want to keep it hardcoded, but another option could be to respect MACOSX_DEPLOYMENT_TARGET and only default to 10.6 (or newer) if that isn't set.

falkTX commented 5 years ago

thanks for the information. I dont have such new system myself, or want to update to it. PR welcome.

DomT4 commented 5 years ago

Apologies for the delay! Filed https://github.com/jackaudio/jack1/pull/82.