mirror of
https://git.yoctoproject.org/poky
synced 2026-04-07 14:02:22 +02:00
go-target.inc: fix go not found while multilib enabled
Go binaries were installed to ${libdir}/go/bin, and create symlink
in ${bindir}, while enabling multilib, libdir was extended (such as
/usr/lib64), but BASELIB was not (still /lib), so use
baselib (such as /lib64)) to replace
(From OE-Core rev: 8b69af74c377bc9342f631d7e6b90fe05876216c)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a0c8ddea61
commit
bf8ceefb8e
@@ -40,7 +40,7 @@ do_install() {
|
||||
for f in ${B}/${GO_BUILD_BINDIR}/*; do
|
||||
name=`basename $f`
|
||||
install -m 0755 $f ${D}${libdir}/go/bin/
|
||||
ln -sf ../${BASELIB}/go/bin/$name ${D}${bindir}/
|
||||
ln -sf ../${baselib}/go/bin/$name ${D}${bindir}/
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user