app-containers/incus: toggle cross-compiler logic in src_install

Closes: https://bugs.gentoo.org/930496
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Joonas Niilola
2024-04-23 13:42:56 +03:00
parent 35db2fa9de
commit c0245e236d

View File

@@ -153,7 +153,7 @@ src_test() {
src_install() {
export GOPATH="${S}/_dist"
if [[ "${GOARCH}" != "amd64" ]]; then
if tc-is-cross-compiler ; then
local bindir="_dist/bin/linux_${GOARCH}"
else
local bindir="_dist/bin"