Dynamic and Static Linking
Gerald via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Sat Mar 18 15:20:16 PDT 2017
On Saturday, 18 March 2017 at 21:42:29 UTC, Mike Wey wrote:
> You should be able to specify them using `-defaultlib`
>
> -defaultlib=:libphobos2.a,:libdruntime.a
>
> With the colon at the start of the library name ld will use the
> library name as is and won't add a lib prefix and an extension.
Thanks as always Mike, I just had to change the names to append
-ldc to them and it worked great.
More information about the digitalmars-d-ldc
mailing list