~vcs-imports/libiconv/trunk

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Bruno Haible
  • Date: 2023-09-06 16:08:35 UTC
  • Revision ID: git-v1:bacf33185644481aced2d0c6c57f466b8267a3cb
Don't export symbols from static MSVC .obj files.

Suggested by Dmitry Bely <dmitry.bely@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnu-libiconv/2023-08/msg00002.html>.

* include/export.h: Add a copyright notice. Set LIBICONV_DLL_EXPORTED to
empty on MSVC when DLL_EXPORT is not defined.
* Makefile.devel (include/iconv.h.build.in): Filter out the second
copyright notice.
* configure.ac (DLL_VARIABLE): Test DLL_EXPORT, not _DLL.
* lib/relocatable.h: From gnulib:
(RELOCATABLE_DLL_EXPORTED): Don't use __declspec(dllexport) when
creating static .obj files with MSVC.
* libcharset/include/export.h: Add a copyright notice. Set
LIBCHARSET_DLL_EXPORTED to empty on MSVC when DLL_EXPORT is not defined.
* libcharset/Makefile.devel (include/libcharset.h.build.in,
include/localcharset.h.build.in): Filter out the second copyright
notice.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2023-09-06  Bruno Haible  <bruno@clisp.org>
 
2
 
 
3
        Don't export symbols from static MSVC .obj files.
 
4
        Suggested by Dmitry Bely <dmitry.bely@gmail.com> in
 
5
        <https://lists.gnu.org/archive/html/bug-gnu-libiconv/2023-08/msg00002.html>.
 
6
        * include/export.h: Add a copyright notice. Set LIBICONV_DLL_EXPORTED to
 
7
        empty on MSVC when DLL_EXPORT is not defined.
 
8
        * Makefile.devel (include/iconv.h.build.in): Filter out the second
 
9
        copyright notice.
 
10
        * configure.ac (DLL_VARIABLE): Test DLL_EXPORT, not _DLL.
 
11
        * lib/relocatable.h: From gnulib:
 
12
        (RELOCATABLE_DLL_EXPORTED): Don't use __declspec(dllexport) when
 
13
        creating static .obj files with MSVC.
 
14
 
1
15
2023-08-30  Bruno Haible  <bruno@clisp.org>
2
16
 
3
17
        Recognize the *-*-windows* config triplets introduced on 2023-06-26.