Merge branch 'resources-extraneous-symbol' into 'main'

resources: Hide external data symbol

Closes gtk#4598

See merge request GNOME/glib!2652
This commit is contained in:
Philip Withnall 2022-05-17 13:58:41 +00:00
commit 6659f502ca

View File

@ -1185,9 +1185,9 @@ main (int argc, char **argv)
if (external_data) if (external_data)
{ {
g_fprintf (file, g_fprintf (file,
"extern const SECTION union { const guint8 data[%"G_GSIZE_FORMAT"]; const double alignment; void * const ptr;} %s_resource_data;" "extern const %s SECTION union { const guint8 data[%" G_GSIZE_FORMAT "]; const double alignment; void * const ptr;} %s_resource_data;"
"\n", "\n",
data_size, c_name); export, data_size, c_name);
} }
else else
{ {