[libc++] Workaround old versions of CMake that don't understand list(JOIN)

llvm-svn: 374120
This commit is contained in:
Louis Dionne 2019-10-08 21:33:35 +00:00
parent 48632af25c
commit fe53d2dc6b
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ function(define_linker_script target)
endif()
endforeach()
endif()
list(JOIN link_libraries " " link_libraries)
string(REPLACE ";" " " link_libraries "${link_libraries}")
set(linker_script "INPUT(${soname} ${link_libraries})")
add_custom_command(TARGET "${target}" POST_BUILD