Adding linker paths with spaces using dmd and msvc toolchain
Jeremy DeHaan via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Dec 29 21:24:56 PST 2016
On Friday, 30 December 2016 at 04:56:59 UTC, Jerry wrote:
> On Friday, 30 December 2016 at 03:51:13 UTC, Jeremy DeHaan
> wrote:
>> How does one correctly add a linker path that has spaces?
>
> The quotes get consumed by the command line. The way DMD spawns
> the linker by creating a new string with all the flags. So it
> smashes everything into a new string, ignoring how the string
> was passed into DMD. I think you can use triple quotes,
> """string with space""", and it should make the string passed
> to DMD include the string. Might be different for powershell.
You mean I could do -L/LIBPATH:"""path"""?
More information about the Digitalmars-d-learn
mailing list