~lattis/muon#16: 
error: invalid kwarg: 'compile_args' in 'declare_dependency()' function

/home/user/rizin/rizin_copy/subprojects/tree-sitter-0.19.5/meson.build:26:3: error: invalid kwarg: 'compile_args'
 26 |   compile_args: tree_sitter_cflags,
        ^
/home/user/rizin/rizin_copy/subprojects/tree-sitter-0.19.5/meson.build:25:19: error: in function declare_dependency
 25 | tree_sitter_dep = declare_dependency(
                        ^
/home/user/rizin/rizin_copy/meson.build:278:22: error: in function subproject
278 |   tree_sitter_proj = subproject('tree-sitter', default_options: ['default_library=static'])

This is what causes it:

tree_sitter_dep = declare_dependency(
  compile_args: tree_sitter_cflags,
  link_with: libtree_sitter,
  include_directories: tree_sitter_inc
)

See the original file at https://github.com/rizinorg/rizin/blob/dev/subprojects/packagefiles/tree-sitter-0.19.5/meson.build

Status
RESOLVED FIXED
Submitter
~xvilka
Assigned to
No-one
Submitted
2 months ago
Updated
a month ago
Labels
No labels applied.

~lattis REPORTED FIXED a month ago

This should be fixed!

Register here or Log in to comment, or comment via email.