tree-sitter-grammar.eclass: use edo when linking

Signed-off-by: Matthew Smith <matthew@gentoo.org>
This commit is contained in:
Matthew Smith
2022-04-19 11:34:38 +01:00
parent 2fdf076fd2
commit 92a590c895

View File

@@ -10,6 +10,8 @@
# @SUPPORTED_EAPIS: 8
# @BLURB: Common functions and variables for Tree Sitter grammars
inherit edo
if [[ -z ${_TREE_SITTER_GRAMMAR_ECLASS} ]]; then
_TREE_SITTER_GRAMMAR_ECLASS=1
@@ -74,7 +76,7 @@ tree-sitter-grammar_src_compile() {
fi
local soname=lib${PN}$(get_libname $(_get_tsg_abi_ver))
${link} ${LDFLAGS} \
edo ${link} ${LDFLAGS} \
-shared \
*.o \
-Wl,--soname=${soname} \