rpath on macOS

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


On Linux, this works:

------------
name "myapp"
targetType "executable"
description "A minimal D application."
authors "bartland"
copyright "Copyright © 2019, bartland"
license "public"
libs "mylib"
lflags "-L../../_cache/" "-rpath=../../_cache/"
------------

but on macOS with DMD or LDC this gives

------------
ld: unknown option: -rpath=../../_cache/"
------------




More information about the Digitalmars-d-learn mailing list