On Saturday, 6 September 2014 at 15:52:03 UTC, Russel Winder via Digitalmars-d wrote:
I am running the tests on OSX and "-L-rpath=." generates
"-rpath=." to the ld which is Clang and it rejects this option.

Just FYI, the linker, as in the ld binary, is not part of Clang. Instead, Apple have their own "ld64" linker: http://www.opensource.apple.com/source/ld64/. Of course, DMD invokes it via "gcc", which tends to be Clang on newer systems.

As for your actual question, I think "-L-rpath -L." should work.

David

Reply via email to