diff options
author | Bruno Haible <bruno@clisp.org> | 2022-09-14 12:47:30 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-09-25 17:35:15 +0200 |
commit | 1c411ccb2d030325558fae255a6516c9807ee7bc (patch) | |
tree | 032f61205f1bdf956e74a2feba227d823cb73aa6 /gettext-runtime | |
parent | 6e0ab541e599f3df6336c2832edbb27e635d54a5 (diff) | |
download | gettext-1c411ccb2d030325558fae255a6516c9807ee7bc.tar.gz |
Update after gnulib changed: Fix link errors on MSVC.
* gettext-runtime/configure.ac: Define DLL_VARIABLE to empty always.
Diffstat (limited to 'gettext-runtime')
-rw-r--r-- | gettext-runtime/configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-runtime/configure.ac b/gettext-runtime/configure.ac index 090b9ff87..2006d4715 100644 --- a/gettext-runtime/configure.ac +++ b/gettext-runtime/configure.ac @@ -136,8 +136,10 @@ fi dnl Put some default definitions into config.h. AH_BOTTOM([ -/* On Windows, variables that may be in a DLL must be marked specially. */ -#if (defined _MSC_VER && defined _DLL) && !defined IN_RELOCWRAPPER +/* On Windows, variables that may be in a DLL must be marked specially. + But here, the only such variable is 'exit_failure', and it is always + built into a static library, never into a shared library. */ +#if defined WOE32DLL && !defined IN_RELOCWRAPPER && 0 # define DLL_VARIABLE __declspec (dllimport) #else # define DLL_VARIABLE |