[PATCH] D63743: [llvm-shlib] Do not use version script when building with MinGW
Pirama Arumuga Nainar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 12:35:48 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL364343: [llvm-shlib] Do not use version script when building with MinGW (authored by pirama, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D63743?vs=206486&id=206507#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63743/new/
https://reviews.llvm.org/D63743
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
@@ -55,7 +55,7 @@
# GNU ld doesn't resolve symbols in the version script.
set(LIB_NAMES -Wl,--whole-archive ${LIB_NAMES} -Wl,--no-whole-archive)
- if (NOT LLVM_LINKER_IS_SOLARISLD)
+ if (NOT LLVM_LINKER_IS_SOLARISLD AND NOT MINGW)
# Solaris ld does not accept global: *; so there is no way to version *all* global symbols
set(LIB_NAMES -Wl,--version-script,${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map ${LIB_NAMES})
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63743.206507.patch
Type: text/x-patch
Size: 691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190625/8a41edeb/attachment.bin>
More information about the llvm-commits
mailing list