[PATCH] D34998: Check for Haiku when setting LIB_NAMES for GNU ld
Andrew Wilkins via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 10 18:18:08 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL307607: [cmake] Check for Haiku when setting LIB_NAMES for GNU ld (authored by axw).
Changed prior to commit:
https://reviews.llvm.org/D34998?vs=105225&id=105954#toc
Repository:
rL LLVM
https://reviews.llvm.org/D34998
Files:
llvm/trunk/tools/llvm-shlib/CMakeLists.txt
Index: llvm/trunk/tools/llvm-shlib/CMakeLists.txt
===================================================================
--- llvm/trunk/tools/llvm-shlib/CMakeLists.txt
+++ llvm/trunk/tools/llvm-shlib/CMakeLists.txt
@@ -37,7 +37,7 @@
add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES})
list(REMOVE_DUPLICATES LIB_NAMES)
-if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD") OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")) # FIXME: It should be "GNU ld for elf"
+if(("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") OR (MINGW) OR (HAIKU) OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD") OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")) # FIXME: It should be "GNU ld for elf"
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/simple_version_script.map.in
${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34998.105954.patch
Type: text/x-patch
Size: 888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170711/b816af99/attachment.bin>
More information about the llvm-commits
mailing list