aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-11-19 08:34:56 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-20 10:11:24 +0000
commit8b69af74c377bc9342f631d7e6b90fe05876216c (patch)
tree9bd08f13d9a6d28678e7cbb7eeeedc210d4c8b11
parentff3f8d4fde8a1d07f5b5381546e740efa14fd483 (diff)
downloadopenembedded-core-contrib-8b69af74c377bc9342f631d7e6b90fe05876216c.tar.gz
openembedded-core-contrib-8b69af74c377bc9342f631d7e6b90fe05876216c.tar.bz2
openembedded-core-contrib-8b69af74c377bc9342f631d7e6b90fe05876216c.zip
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 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/go/go-target.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc
index c229ab2f8de..379f87b4985 100644
--- a/meta/recipes-devtools/go/go-target.inc
+++ b/meta/recipes-devtools/go/go-target.inc
@@ -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
}