[libcxx-commits] [PATCH] D127151: [libcxx] [doc] Add a release note for distributors about MinGW builds and dllimport

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 6 13:58:24 PDT 2022

mstorsjo created this revision.
mstorsjo added a reviewer: ldionne.
Herald added a project: All.
mstorsjo requested review of this revision.
Herald added a project: libc++.
Herald added a reviewer: libc++.

This allows distributors to simplify how libc++ is built in MinGW

  rG LLVM Github Monorepo



Index: libcxx/docs/ReleaseNotes.rst
--- libcxx/docs/ReleaseNotes.rst
+++ libcxx/docs/ReleaseNotes.rst
@@ -164,3 +164,8 @@
   configuration and isn't supported by one of the configurations in ``libcxx/test/configs``,
   ``libcxxabi/test/configs`` or ``libunwind/test/configs``, please move to one of those
   configurations or define your own.
+- MinGW DLL builds of libc++ no longer use dllimport in its headers, which means
+  that the same set of installed headers works for both DLL and static linkage.
+  This means that distributors finally can build both library versions with one
+  single CMake invocation.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127151.434602.patch
Type: text/x-patch
Size: 685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220606/c0e8e6ab/attachment.bin>

More information about the libcxx-commits mailing list