diff options
author | Matthew Smith <matthew@gentoo.org> | 2022-04-19 11:34:38 +0100 |
---|---|---|
committer | Matthew Smith <matthew@gentoo.org> | 2022-04-19 11:34:38 +0100 |
commit | 92a590c895b7ebaaf2b2ff013dd4120356036d5f (patch) | |
tree | 85037f3e183d28a8dad2c5d89d2d5343ad133271 /eclass/tree-sitter-grammar.eclass | |
parent | media-sound/wavbreaker: removed obsolete 0.13 (diff) | |
download | gentoo-92a590c895b7ebaaf2b2ff013dd4120356036d5f.tar.gz gentoo-92a590c895b7ebaaf2b2ff013dd4120356036d5f.tar.bz2 gentoo-92a590c895b7ebaaf2b2ff013dd4120356036d5f.zip |
tree-sitter-grammar.eclass: use edo when linking
Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'eclass/tree-sitter-grammar.eclass')
-rw-r--r-- | eclass/tree-sitter-grammar.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
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} \ |