From: Bruno Haible Date: Tue, 30 Dec 2025 23:37:14 +0000 (+0100) Subject: build: Avoid link error on native Windows with --enable-shared. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=207e12cc80be1203ca8b7cda48aa9a4e43578f8b;p=thirdparty%2Fgettext.git build: Avoid link error on native Windows with --enable-shared. Reported by Michele Locati in . * gettext-tools/src/country-table.h (country_table, country_table_size): Remove LIBGETTEXTSRC_DLL_VARIABLE annotation. --- diff --git a/gettext-tools/src/country-table.h b/gettext-tools/src/country-table.h index 0f80a6825..6b6280e86 100644 --- a/gettext-tools/src/country-table.h +++ b/gettext-tools/src/country-table.h @@ -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