anholt / libepoxy

Epoxy is a library for handling OpenGL function pointer management for you
Other
680 stars 161 forks source link

meson: Don't build glx tests if x11 is disabled #194

Closed nirbheek closed 5 years ago

nirbheek commented 6 years ago

Fixes build failure when x11 is not found or disabled and glx is also not found. To reproduce, build with:

PKG_CONFIG_LIBDIR='' meson _build

The proper fix involves reorganising the dependency checking logic to use Feature Options instead of a combo with auto/yes/no, but that's a larger patch that I'll add later.