loader: rework xmlconfig dependency

Graphics / Mesa 3D Graphics Library / Mesa - Emil Velikov [collabora.com] - 4 August 2017 18:54 EDT

Currently xmlconfig is conditionally used, only when --enable-dri is available.

As the library has moved to src/util and has wider wisebase, this guard is no longer correct. Strictly speaking - it wasn't since the introduction of xmlconfig into st/nine a while ago.

Unconditionally enable xmlconfig and drop the linking. As said before there's other users of the library, so depending on the configure options we will get multiple definitions of said symbols.

NOTE: To avoid breaking other combinations, this commit adds the xmlconfig link to the required places - throughout gallium and the DRI loaders.

Cc: Aaron Watry

10e7c2c loader: rework xmlconfig dependency
src/egl/Makefile.am | 8 ++++++--
src/gallium/auxiliary/pipe-loader/Makefile.am | 6 ++++--
src/gallium/targets/opencl/Makefile.am | 1 -
src/gbm/Makefile.am | 1 +
src/glx/Makefile.am | 4 +++-
src/loader/Makefile.am | 15 ++-------------
6 files changed, 16 insertions(+), 19 deletions(-)

Upstream: cgit.freedesktop.org


  • Share