blob: 5bf357b7c47c3c151973fb164a8279ab2b89baac (
plain)
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
|
From 34fa84a06de74cfde95faf3e4a0d30922d08601d Mon Sep 17 00:00:00 2001
From: Karol Herbst <kherbst@redhat.com>
Date: Fri, 17 May 2024 23:25:12 +0200
Subject: [PATCH] rusticl/meson: add build root dir to the include dirs of
rusticl_c
The static inline wrapper includes the header file relatively from where
`bindgen` gets executed, or so it seems.
I'm sure we can come up with a better solution, but this unbreaks builds.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11178
Fixes: 53629b0a2d4 ("rusticl: make use of new `output_inline_wrapper` meson.rust.bindgen feature")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29275>
---
src/gallium/frontends/rusticl/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/frontends/rusticl/meson.build b/src/gallium/frontends/rusticl/meson.build
index 39b2089fcfc9d..0663a2b6c59a0 100644
--- a/src/gallium/frontends/rusticl/meson.build
+++ b/src/gallium/frontends/rusticl/meson.build
@@ -347,6 +347,7 @@ rusticl_c = static_library(
],
gnu_symbol_visibility : 'hidden',
include_directories : [
+ meson.build_root(),
inc_gallium,
inc_gallium_aux,
inc_include,
--
GitLab
|