Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
[libc++] Workaround old versions of CMake that don't understand list(…
Browse files Browse the repository at this point in the history
…JOIN)

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@374120 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ldionne committed Oct 8, 2019
1 parent ef2d239 commit 76ba5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Modules/DefineLinkerScript.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76ba5dd

Please sign in to comment.