rizinorg / rizin

UNIX-like reverse engineering framework and command-line toolset.
https://rizin.re
GNU Lesser General Public License v3.0
2.66k stars 357 forks source link

Enable subproject tree-sitter-c in librz/type #4550

Closed Heersin closed 3 months ago

Heersin commented 3 months ago

Your checklist for this pull request

Detailed description

If the tree-sitter-c library is already installed on the system, then during the linking process of the rztype library, /usr/lib/tree-sitter-c.so will be used preferentially, which leads to multiple undefined reference error about `ts*` function family.

this pr enable the tree-sitter-c.wrap under subproject according to use_sys_treesitter option

Test plan

Closing issues