From: Alexandre Julliard <julliard@winehq.org> Using the GCC Runtime Library exception, similar to what glibc is doing for files that get linked directly into the application. --- dlls/vcruntime140/init_thread.c | 8 ++++++++ dlls/vcruntime140/typeinfo.c | 8 ++++++++ dlls/vcruntime140/typeinfo_root.cpp | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/dlls/vcruntime140/init_thread.c b/dlls/vcruntime140/init_thread.c index 6d73f85785f..a2db941bf79 100644 --- a/dlls/vcruntime140/init_thread.c +++ b/dlls/vcruntime140/init_thread.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/vcruntime140/typeinfo.c b/dlls/vcruntime140/typeinfo.c index e5b59d85e29..2c5ddccddc9 100644 --- a/dlls/vcruntime140/typeinfo.c +++ b/dlls/vcruntime140/typeinfo.c @@ -6,6 +6,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/vcruntime140/typeinfo_root.cpp b/dlls/vcruntime140/typeinfo_root.cpp index 018c292ee3f..b6da6b61c55 100644 --- a/dlls/vcruntime140/typeinfo_root.cpp +++ b/dlls/vcruntime140/typeinfo_root.cpp @@ -6,6 +6,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10545