[oe-commits] [openembedded-core] 11/15: go-target.inc: fix go not found while multilib enabled

git at git.openembedded.org git at git.openembedded.org
Mon Nov 19 22:47:04 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e029bbe737aef64cb054ed292fe87e2c6245973f
Author: Hongxu Jia <hongxu.jia at windriver.com>
AuthorDate: Mon Nov 19 08:34:56 2018 -0500

    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 at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/go/go-target.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc
index c229ab2..379f87b 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
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list