[all-commits] [llvm/llvm-project] 26fa96: [cmake] Quote args when generating /libpath option...
Matthew Voss via All-commits
all-commits at lists.llvm.org
Fri Mar 10 14:13:33 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 26fa96542d94d26ff38b2b4383441dcbe601f0a8
https://github.com/llvm/llvm-project/commit/26fa96542d94d26ff38b2b4383441dcbe601f0a8
Author: Matthew Voss <matthew.voss at sony.com>
Date: 2023-03-10 (Fri, 10 Mar 2023)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[cmake] Quote args when generating /libpath option specifying runtime dir for link/lld-link
When the runtime dir path includes whitespace (ex. when it's installed
under "Program Files" on Windows), the lack of quotes causes the linker
to interpret the path as one or more arguments. None of these path
fragments exist, so the link fails.
Differential Revision: https://reviews.llvm.org/D145827
More information about the All-commits
mailing list