Open Gcenx opened 2 years ago
ld64 shouldn't link against libLTO. The library is loaded dynamically. If linking against it is indeed needed on macOS, then feel free to adjust the PR so it affects only macOS.
I’ll look over this again, I can’t remember if the rpath was configured correctly or not.
Fixes LTO linking on macOS this follows what's done with other libraries in ld_LDADD section
Closes #120