~vcs-imports/libiconv/trunk

  • 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.
Filename Latest Rev Last Changed Committer Comment Size
..
export.h 1199 4 years ago Bruno Haible Change the license of the library from LGPL 2.0 to 5.6 KB Diff Download File
iconv-exports.c 1199 4 years ago Bruno Haible Change the license of the library from LGPL 2.0 to 913 bytes Diff Download File