From f13c5d8ef2463ad91d547d3472b146cea367fdd7 Mon Sep 17 00:00:00 2001
From: cyBerta <cyberta@riseup.net>
Date: Sun, 16 Jun 2024 03:57:47 +0200
Subject: [PATCH] fix name of generated bitmaskcore aar library for builds
 containing all architectures

---
 build_core.sh     | 2 +-
 build_core_dev.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/build_core.sh b/build_core.sh
index 94186cb..ba1183d 100755
--- a/build_core.sh
+++ b/build_core.sh
@@ -117,7 +117,7 @@ fi
 
 
 showtitle "Building Bitmask core as full aar"
-gomobile bind -x -target android -ldflags="-s -w" -tags=netcgo -androidapi=21 -v -trimpath -o lib/obfsvpn.aar ./obfsvpn/client/ ./motd ./IPtProxy/IPtProxy.go
+gomobile bind -x -target android -ldflags="-s -w" -tags=netcgo -androidapi=21 -v -trimpath -o lib/bitmaskcore.aar ./obfsvpn/client/ ./motd ./IPtProxy/IPtProxy.go
 
 showtitle "Building Bitmask web core as full aar including pgpverify"
 gomobile bind -x -target='android' -ldflags="-s -w" -androidapi=21 -v -tags=netcgo -trimpath -o ./lib/bitmaskcore_web.aar -v ./pgpverify ./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd
diff --git a/build_core_dev.sh b/build_core_dev.sh
index 17ae215..97d20f4 100755
--- a/build_core_dev.sh
+++ b/build_core_dev.sh
@@ -123,7 +123,7 @@ fi
 
 
 showtitle "Building Bitmask core as full aar"
-gomobile bind -x -target android -ldflags="-s -w" -tags=netcgo -androidapi=21 -v -trimpath -o lib/obfsvpn.aar ./obfsvpn/client/ ./motd ./IPtProxy/IPtProxy.go
+gomobile bind -x -target android -ldflags="-s -w" -tags=netcgo -androidapi=21 -v -trimpath -o lib/bitmaskcore.aar ./obfsvpn/client/ ./motd ./IPtProxy/IPtProxy.go
 
 showtitle "Building Bitmask web core as full aar including pgpverify"
 gomobile bind -x -target='android' -ldflags="-s -w" -androidapi=21 -v -tags=netcgo -trimpath -o ./lib/bitmaskcore_web.aar -v ./pgpverify ./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd
-- 
GitLab