/home/user/rizin_copy/librz/util/meson.build:114:13: error: function partial_dependency not found
114 | sdb_dep.partial_dependency(includes: true),
^
/home/user/rizin_copy/librz/util/meson.build:110:15: error: in function declare_dependency
110 | rz_util_dep = declare_dependency(
^
on the following piece of code:
rz_util_dep = declare_dependency(
link_with: rz_util,
include_directories: platform_inc,
dependencies: [
sdb_dep.partial_dependency(includes: true),
]
)
meson.override_dependency('rz_util', rz_util_dep)
See complete file at https://github.com/rizinorg/rizin/blob/dev/librz/util/meson.build
See the announcement in Meson for this feature: https://mesonbuild.com/Release-notes-for-0-46-0.html#added-new-partial_dependency-method-to-dependencies-and-libraries
It's implemented in https://git.sr.ht/~lattis/muon/commit/bc8152b and works on my project. Thank you!