[Mesa-dev] [PATCH v3 0/9] meson: fix gallium media target linkage

Dylan Baker dylan at pnwbakers.com
Fri Feb 2 19:30:36 UTC 2018


The linkage of all of the gallium media targets is broken in various
ways in the meson build. This series should correct that by doing more
what the autotools build does.

You may note in the last 5 patches the addition of libswdri and
libswkmsdri, these are needed because we're now linking the whole state
tracker and the symbols in those libraries would otherwise be unresolved. In
this case as-needed and gc-sections were hiding this.

Changes since v2:
- Add patch to fix va-api version checking
- link xcb libs into vlwinsys instead of into each media state
  tracker/target
- Split the remaining bits into patches that fix one problem.

Dylan Baker (9):
  meson: use va-api version reported by pkg-config
  meson: link dri3 xcb libs into vlwinsys instead of into each target
  meson: actually link with libomxil-bellagio
  meson: Actually link xvmc target with libxvmc
  meson: fix vdpau target linkage
  meson: fix va target linkage
  meson: Fix omx-bellagio target linkage
  meson: Fix xa target linkage
  meson: fix xvmc target linkage

 meson.build                                  | 10 +---------
 src/gallium/auxiliary/meson.build            |  7 ++++++-
 src/gallium/state_trackers/va/meson.build    |  6 +++---
 src/gallium/targets/omx-bellagio/meson.build | 18 ++++++++++++------
 src/gallium/targets/va/meson.build           | 17 +++++++++++------
 src/gallium/targets/vdpau/meson.build        | 16 ++++++++++++----
 src/gallium/targets/xa/meson.build           | 16 ++++++++++++----
 src/gallium/targets/xvmc/meson.build         | 18 ++++++++++++------
 8 files changed, 69 insertions(+), 39 deletions(-)

base-commit: d7235ef83b92175537e3b538634ffcff29bf0dce
-- 
git-series 0.9.1


More information about the mesa-dev mailing list