commit:     92a590c895b7ebaaf2b2ff013dd4120356036d5f
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 19 10:34:38 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Tue Apr 19 10:34:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92a590c8

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

Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 eclass/tree-sitter-grammar.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/eclass/tree-sitter-grammar.eclass 
b/eclass/tree-sitter-grammar.eclass
index f1ec619be02c..69ad467f8be7 100644
--- a/eclass/tree-sitter-grammar.eclass
+++ b/eclass/tree-sitter-grammar.eclass
@@ -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} \

Reply via email to