mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 16:09:14 +00:00
add cross compile support for arm64 to amd64 (#888)
This commit is contained in:
@@ -8,6 +8,7 @@ elif [ "$TARGETPLATFORM" == "linux/arm/v6" ] || [ "$TARGETPLATFORM" == "linux/ar
|
||||
dpkg --add-architecture armhf
|
||||
DEBIAN_ARCH='armhf'
|
||||
else
|
||||
dpkg --add-architecture amd64
|
||||
DEBIAN_ARCH='amd64'
|
||||
fi
|
||||
|
||||
@@ -22,6 +23,10 @@ elif [ "$DEBIAN_ARCH" == "armhf" ]; then
|
||||
apt-get install -y \
|
||||
g++-arm-linux-gnueabihf \
|
||||
libc6-dev-armhf-cross
|
||||
else
|
||||
apt-get install -y \
|
||||
g++-x86-64-linux-gnu \
|
||||
libc6-dev-amd64-cross
|
||||
fi
|
||||
|
||||
# Install Golang
|
||||
|
||||
Reference in New Issue
Block a user