Skip to content
/ gentoo Public
forked from gentoo/gentoo

Commit

Permalink
llvm-core/llvmgold: main is now 21*
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Feb 1, 2025
1 parent 766cb24 commit c3c4a4d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions llvm-core/llvmgold/llvmgold-21.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="LLVMgold plugin symlink for autoloading"
HOMEPAGE="https://llvm.org/"
S=${WORKDIR}

LICENSE="public-domain"
SLOT="0"

RDEPEND="
llvm-core/llvm:${PV}[binutils-plugin]
!llvm-core/llvm:0
"

src_install() {
dodir "/usr/${CHOST}/binutils-bin/lib/bfd-plugins"
dosym "../../../../lib/llvm/${PV}/$(get_libdir)/LLVMgold.so" \
"/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so"
}

0 comments on commit c3c4a4d

Please sign in to comment.