mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 20:00:11 +01:00
HACK: Support old meson
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
parent
44243c4741
commit
fafb72e2be
1 changed files with 11 additions and 1 deletions
|
|
@ -19,6 +19,16 @@ libnak_deps = [
|
|||
nak_bindings_rs = rust.bindgen(
|
||||
input : ['nak_bindings.h'],
|
||||
output : 'nak_bindings.rs',
|
||||
include_directories : [
|
||||
include_directories('/usr/include/valgrind'),
|
||||
include_directories('../nvidia-headers'),
|
||||
inc_compiler,
|
||||
inc_gallium,
|
||||
inc_gallium_aux,
|
||||
inc_include,
|
||||
inc_nir,
|
||||
inc_src,
|
||||
],
|
||||
c_args : [
|
||||
pre_args,
|
||||
],
|
||||
|
|
@ -44,7 +54,7 @@ nak_bindings_rs = rust.bindgen(
|
|||
'--allowlist-function', 'glsl_.*',
|
||||
'--no-prepend-enum-name',
|
||||
],
|
||||
dependencies : libnak_deps,
|
||||
# dependencies : libnak_deps,
|
||||
)
|
||||
|
||||
libnak_bindings_gen = static_library(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue