[llvm-bugs] [Bug 36503] New: quotes in the LIB environment variable are not stripped

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Feb 24 02:35:26 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36503

            Bug ID: 36503
           Summary: quotes in the LIB environment variable are not
                    stripped
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: r.sagitario at gmx.de
                CC: llvm-bugs at lists.llvm.org

When quoting a path in the LIB environment variable, lld-link does not find
libraries in that directory:

> set LIB="c:\Program Files (x86)\Windows Kits\10\Lib\10.0.15063.0\um\x64";%LIB%
> lld-link main.obj

lld-link.exe: error: could not open shell32.lib: no such file or directory

The MS linker seems to strip the quotes from the search path.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180224/4f027659/attachment.html>


More information about the llvm-bugs mailing list