On Friday, 19 July 2013 at 18:29:12 UTC, evilrat wrote:
On Friday, 19 July 2013 at 18:19:20 UTC, Jeremy DeHaan wrote:
I was just curious if DMD supported linking with .dylib files on OSX.

Would one simply do something like this?

"dmd main.d somelib.dylib"

Thanks!

i don't remember exactly, but if this not work for you try something like this
dmd main.d -L-L/path/to/lib.dylib
i think there was a topic on this on wiki

That worked! Just one too many -L's though. It ended up being

dmd main.d -L/path/to/lib.dylib

Reply via email to