rpath on macOS

cartland example at example.com
Tue Nov 12 10:29:09 UTC 2019


On Tuesday, 12 November 2019 at 10:19:30 UTC, cartland wrote:
> On Linux, this works:
>
> ------------
> *snip*
>
> but on macOS with DMD or LDC this gives
>
> ------------
> ld: unknown option: -rpath=../../_cache/"
> ------------

Currently I do this post build to get the binary to work:

----------
install_name_tool -add_rpath "../../_cache" myapp
----------



More information about the Digitalmars-d-learn mailing list