[OE-core] [OE-Core][PATCH 1/2] go-native: use nonarch_libdir

Dan McGregor danismostlikely at gmail.com
Wed May 9 15:49:19 UTC 2018


From: Dan McGregor <dan.mcgregor at usask.ca>

Setting staging_libdir to libdir caused unnecessary rebuilds of
go-native when switching from a multilib build to a non-multilib
build. Switch to nonarch_libdir because that's the same on both
multilib and regular builds.

Signed-off-by: Dan McGregor <dan.mcgregor at usask.ca>
---
 meta/recipes-devtools/go/go-native.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/go/go-native.inc b/meta/recipes-devtools/go/go-native.inc
index b76fb0825e4..76c83848cd3 100644
--- a/meta/recipes-devtools/go/go-native.inc
+++ b/meta/recipes-devtools/go/go-native.inc
@@ -1,6 +1,6 @@
 # Use immediate assingment here to get the original (/usr/lib)
 # instead of the one rewritten by native.bbclass.
-nonstaging_libdir := "${libdir}"
+nonstaging_libdir := "${nonarch_libdir}"
 
 inherit native
 
-- 
2.18.0-dev




More information about the Openembedded-core mailing list