[PATCH] D70918: Don't call export_symbols.py with duplicate libs

David Tenty via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 14:29:52 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG70d14255dfcd: Don't call export_symbols.py with duplicate libs (authored by daltenty).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70918/new/

https://reviews.llvm.org/D70918

Files:
  llvm/cmake/modules/AddLLVM.cmake


Index: llvm/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/cmake/modules/AddLLVM.cmake
+++ llvm/cmake/modules/AddLLVM.cmake
@@ -873,6 +873,7 @@
       set(new_libs ${newer_libs})
       set(newer_libs "")
     endwhile()
+    list(REMOVE_DUPLICATES static_libs)
     if (MSVC)
       set(mangling microsoft)
     else()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70918.233453.patch
Type: text/x-patch
Size: 378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191211/6143f53b/attachment.bin>


More information about the llvm-commits mailing list