Skip to content

Commit fb619b3

Browse files
committed
[CMake] Address the issue introduced in #69869
While extracting the existing functionality into a function, one of the variable usages wasn't correctly updated.
1 parent 8e247b8 commit fb619b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/runtimes/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ endif()
174174
function(_get_runtime_name name out_var)
175175
string(FIND ${name} "lib" idx)
176176
if(idx EQUAL 0 AND NOT ${name} STREQUAL "libc")
177-
string(SUBSTRING ${name} 3 -1 entry)
177+
string(SUBSTRING ${name} 3 -1 name)
178178
endif()
179179
set(${out_var} ${name} PARENT_SCOPE)
180180
endfunction()

0 commit comments

Comments
 (0)