diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2021-08-23 19:36:26 +0530 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-09-17 16:08:04 +0000 |
commit | bd4e7a9b9e672105bda35ff736c977adbf719c6c (patch) | |
tree | bb9ba8b424619f51ef753b051040f49da6f16a46 /contrib | |
parent | e0d4403e78a7af8f4be4110ae25e9c3d1ac93a78 (diff) | |
download | pixman-bd4e7a9b9e672105bda35ff736c977adbf719c6c.tar.gz |
tests: Fix undefined symbol build error on macOS
prng_state and prng_state_data are getting classified as a "Common
symbol" by the compiler due to the convoluted way in which it is
`#include`-ed in various test sources, and that's not read as a valid
symbol by the linker later.
Initializing the symbol clarifies it to the compiler that this
specific declaration is the canonical location for this variable, and
that it's not a "Common symbol".
Fixes https://gitlab.freedesktop.org/pixman/pixman/-/issues/42
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions