tpoechtrager / cctools-port

Apple cctools port for Linux and *BSD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ld64: macOS LTO doesn’t get linked

Gcenx opened this issue · comments

When compiling ld64 doesn’t have an install name for liblto.dylib after doing some digging I did the following change Gcenx@83269d6

After this (and regenerating Makefile.in) ld64 compiled and does contain an libLTO install name of @rpath/libLTO.1.dylib and there’s a correctly configured path to said dylib.