Don't enforce -fvisibility=hidden in the xorg-server pkgconfig file
If the server is built with a compiler supporting symbol visibility, our pkgconfig file contains this line:
Cflags: -I${sdkdir} -fvisibility=hidden
Which means that anything building against the X server has hidden symbols by default (which was the intent, I suppose). This is frustrating if it's not needed/wanted [1], because the args have to be ordered correctly to drop it. e.g. meson's gnu_symbol_visibility
flag will not work because it is set before the pkgconfig cflags in the compile command.
Not much we can do for now without breaking all modules building with autotools where setting that flag is tricky enough to not bother. But let's leave a bug open so some other poor soul may find this and doesn't have to spend time shouting at the screen wondering why gnu_symbol_visibility
appears to randomly work or not work.
[1] test suite, in my case where I really want everything in the module but I also need that module to build against xorg-server.h