digitalmars.D.bugs - [Issue 16677] New: -L flag ignores quotes in the arguments passed to
- via Digitalmars-d-bugs (21/21) Nov 09 2016 https://issues.dlang.org/show_bug.cgi?id=16677
https://issues.dlang.org/show_bug.cgi?id=16677 Issue ID: 16677 Summary: -L flag ignores quotes in the arguments passed to the linker Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: atila.neves gmail.com On Windows 32-bit, linking with dmd and passing, say, `-L/LIBPATH:"C:/Program Files (x86)/foo/bar"`, dmd calls `link.exe` without the quotes which results in linker error trying to link `C:/Program.obj` because of the space. Since `C:/Program Files (x86)/` is where a lot of system libraries live, the user doesn't really have a choice but to call `link.exe` manually, which isn't easy to set up with dub. --
Nov 09 2016