(SOLVED) Re: rpath on macOS

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


On Tuesday, 12 November 2019 at 10:44:07 UTC, kinke wrote:
> On Tuesday, 12 November 2019 at 10:19:30 UTC, cartland wrote:
>> but on macOS with DMD or LDC this gives
>>
>> ------------
>> ld: unknown option: -rpath=../../_cache/"
>> ------------
>
> IIRC, Mac's ld64 linker requires 2 separated args: "-rpath" 
> "../../_cache/"

Brilliant.

lflags "-L../../_cache/" "-rpath" "../../_cache/"

also works on Linux.

Thanks


More information about the Digitalmars-d-learn mailing list