commit:     092c90bb92aafc56f02992544bff648bc4bfc05c
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 25 17:46:45 2020 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Dec 25 17:46:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=092c90bb

dev-tcltk/tcl3d: calling cc from environment

Closes: https://bugs.gentoo.org/748447
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild 
b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
index 8f84663373e..f24710e3f1e 100644
--- a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
+++ b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
@@ -67,6 +67,8 @@ src_compile() {
                CXX="$(tc-getCXX) -c" \
                LD="$(tc-getLD)" \
                LDOUT="${LDFLAGS} -o" \
+               SHLIB_LD="$(tc-getCC) -shared" \
+               SHLIB_LDXX="$(tc-getCXX) -shared" \
                ${CONFIG_PLUGIN}
 }
 

Reply via email to