mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
android-tools: build with go1.20
This commit is contained in:
parent
d840a05610
commit
4bef5d83ad
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,8 @@ version=34.0.1
|
|||
revision=3
|
||||
archs="armv* aarch64* x86_64* i686* ppc64le*"
|
||||
build_style=cmake
|
||||
hostmakedepends="perl go protobuf pkg-config"
|
||||
configure_args="-DGO_EXECUTABLE=/usr/bin/go1.20"
|
||||
hostmakedepends="perl go1.20 protobuf pkg-config"
|
||||
makedepends="gtest-devel zlib-devel libusb-devel pcre2-devel
|
||||
liblz4-devel libzstd-devel protobuf-devel brotli-devel"
|
||||
depends="python3"
|
||||
|
@ -19,6 +20,8 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|||
configure_args="-DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
||||
fi
|
||||
|
||||
export GOTOOLCHAIN=go1.20
|
||||
|
||||
post_install() {
|
||||
# zsh's built in works, while this one doesn't
|
||||
rm -f $DESTDIR/usr/share/zsh/site-functions/_adb
|
||||
|
|
Loading…
Add table
Reference in a new issue