projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48632af
)
[libc++] Workaround old versions of CMake that don't understand list(JOIN)
author
Louis Dionne
<ldionne@apple.com>
Tue, 8 Oct 2019 21:33:35 +0000
(21:33 +0000)
committer
Louis Dionne
<ldionne@apple.com>
Tue, 8 Oct 2019 21:33:35 +0000
(21:33 +0000)
llvm-svn: 374120
libcxx/cmake/Modules/DefineLinkerScript.cmake
patch
|
blob
|
history
diff --git
a/libcxx/cmake/Modules/DefineLinkerScript.cmake
b/libcxx/cmake/Modules/DefineLinkerScript.cmake
index
2b456a4
..
213ab5d
100644
(file)
--- a/
libcxx/cmake/Modules/DefineLinkerScript.cmake
+++ b/
libcxx/cmake/Modules/DefineLinkerScript.cmake
@@
-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