linuxwacom / xf86-input-wacom

X.Org driver for Wacom devices
356 stars 46 forks source link

Skip the wacom tests if compiler flags prevent RTLD_LAZY #251

Closed whot closed 2 years ago

whot commented 2 years ago

Sits on top of #250

Distribution package builds that use -Wl,-z,relro -Wl,-z,now will attempt to resolve all symbols on dlopen(). This is explicitly what we do not want because we don't link in the whole X server.

It's a bit hard to override this for a single executable (my attempts didn't go far so there may be some other flag that influences this too) so for now just skip the whole test - this is better than failing the test suite.