www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - DMD, LDC, shared objects, rpath

On Linux, both DMD and LDC appear to handle rpath with the option:

	-L-rpath=3D/path/to/location/of/shared/object.so

on OSX (El Capitan) I have LDC working but only by using:

	-L-Wl,rpath,/path/to/location/of/shared/object.so

However nothing I have tried works for DMD. Anyone any suggestions?


--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
Dr Russel Winder     t:+44 20 7585 2200   voip:sip:
russel.winder ekiga.net
41 Buckmaster Road   m:+44 7770 465 077   xmpp:russel winder.org.uk
London SW11 1EN, UK  w: www.russel.org.uk skype:russel_winder
Jun 19 2017