On 2 February 2018 at 19:30, Dylan Baker <dy...@pnwbakers.com> wrote:
> The VDPAU state tracker needs to be linked with whole-archive (autotools
> does this). Because we are linking the whole archive we alos need to
> link with libswdri and libswkmsdri if those have been enabled.
>
> Fixes: 68076b87474e7959 ("meson: build gallium vdpau state tracker")
> Signed-off-by: Dylan Baker <dylan.c.ba...@intel.com>
> ---

> +if with_dri
> +  vdpau_link_with += libswdri
> +endif
> +if with_gallium_drisw_kms
> +  vdpau_link_with += libswkmsdri
> +endif
> +
This is not specific for vdpau - va/omx/etc also need it.
Instead of duplicating the code - one could fold that once into
another meson.build file.

-Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to