summaryrefslogtreecommitdiffstats
path: root/meta
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:32:16 +0000
commitbf8ceefb8e952139398e48337fb4698dddfe3f18 (patch)
tree6103bd6bb8e5ec080ff70b65e02de105c58f9d08 /meta
parenta0c8ddea61320752b796c11cac1262efd25b17bd (diff)
downloadpoky-bf8ceefb8e952139398e48337fb4698dddfe3f18.tar.gz
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>
Diffstat (limited to 'meta')
-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 c229ab2f8d..379f87b498 100644
--- a/meta/recipes-devtools/go/go-target.inc
+++ b/meta/recipes-devtools/go/go-target.inc
@@ -40,7 +40,7 @@ do_install() {
40 for f in ${B}/${GO_BUILD_BINDIR}/*; do 40 for f in ${B}/${GO_BUILD_BINDIR}/*; do
41 name=`basename $f` 41 name=`basename $f`
42 install -m 0755 $f ${D}${libdir}/go/bin/ 42 install -m 0755 $f ${D}${libdir}/go/bin/
43 ln -sf ../${BASELIB}/go/bin/$name ${D}${bindir}/ 43 ln -sf ../${baselib}/go/bin/$name ${D}${bindir}/
44 done 44 done
45} 45}
46 46