]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Avoid link error on native Windows with --enable-shared.
authorBruno Haible <bruno@clisp.org>
Tue, 30 Dec 2025 23:37:14 +0000 (00:37 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 30 Dec 2025 23:37:14 +0000 (00:37 +0100)
Reported by Michele Locati <michele@locati.it> in
<https://lists.gnu.org/archive/html/bug-gettext/2025-12/msg00038.html>.

* gettext-tools/src/country-table.h (country_table, country_table_size): Remove
LIBGETTEXTSRC_DLL_VARIABLE annotation.

gettext-tools/src/country-table.h

index 0f80a68250add9bde3a67a1e51eb28f25ffcdd1c..6b6280e86c2d5adf9c7b56f2af456547ee55c2fc 100644 (file)
@@ -33,8 +33,8 @@ struct country_table_entry
   const char *english;
 };
 
-extern LIBGETTEXTSRC_DLL_VARIABLE struct country_table_entry country_table[];
-extern LIBGETTEXTSRC_DLL_VARIABLE const size_t country_table_size;
+extern struct country_table_entry country_table[];
+extern const size_t country_table_size;
 
 
 #ifdef __cplusplus