1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
From a578f009d13ef004ba28c14ba9d9b3733175c3ef Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <cogitri@exherbo.org>
Date: Thu, 26 Apr 2018 20:45:48 +0200
Subject: [PATCH] build: fix building vdpau&va
Upstream: No, this most likely isn't the correct way to fix this. However, Mesa's
build system is massive, so I'll file a bug an see what upstream does about it :)
In some situations underlinking occurs. We have to link to xcb-xfixes.
---
src/gallium/targets/va/meson.build | 2 +-
src/gallium/targets/vdpau/meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/targets/va/meson.build b/src/gallium/targets/va/meson.build
index 57d267e..1bd544f 100644
--- a/src/gallium/targets/va/meson.build
+++ b/src/gallium/targets/va/meson.build
@@ -46,7 +46,7 @@ libva_gallium = shared_library(
libpipe_loader_static, libws_null, libwsw, libswdri, libswkmsdri,
],
dependencies : [
- dep_libdrm, dep_thread, driver_r600, driver_radeonsi, driver_nouveau,
+ dep_libdrm, dep_thread, driver_r600, driver_radeonsi, driver_nouveau, dep_xcb_xfixes,
],
link_depends : va_link_depends,
install : true,
diff --git a/src/gallium/targets/vdpau/meson.build b/src/gallium/targets/vdpau/meson.build
index 93969d8..9caffc2 100644
--- a/src/gallium/targets/vdpau/meson.build
+++ b/src/gallium/targets/vdpau/meson.build
@@ -51,7 +51,7 @@ libvdpau_gallium = shared_library(
libpipe_loader_static, libws_null, libwsw, libswdri, libswkmsdri,
],
dependencies : [
- dep_thread, driver_r300, driver_r600, driver_radeonsi, driver_nouveau,
+ dep_thread, driver_r300, driver_r600, driver_radeonsi, driver_nouveau, dep_xcb_xfixes,
],
link_depends : vdpau_link_depends,
)
--
2.17.0
|