mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
Fixes for 64-bit android build
This commit is contained in:
parent
90e70edaa7
commit
6f5550e975
@ -1,10 +1,18 @@
|
|||||||
|
bits=${1}
|
||||||
|
[ -z "$bits" ] && bits=32
|
||||||
|
[ "$bits" = "32" ] && cross=arm-linux-androideabi
|
||||||
|
[ "$bits" = "64" ] && cross=aarch64-linux-android
|
||||||
|
[ -z "$cross" ] && echo "Invalid bits passed" && exit 1
|
||||||
|
arm=""
|
||||||
|
[ "$bits" = "64" ] && arm=64
|
||||||
|
|
||||||
MakeVersion=gen/Make.Version
|
MakeVersion=gen/Make.Version
|
||||||
Build=`grep ^BuildNum ${MakeVersion}|awk '{print $3;}'`
|
Build=`grep ^BuildNum ${MakeVersion}|awk '{print $3;}'`
|
||||||
Version=`grep ^FirebirdVersion ${MakeVersion}|awk '{print $3;}'`
|
Version=`grep ^FirebirdVersion ${MakeVersion}|awk '{print $3;}'`
|
||||||
Release="Firebird-${Version}.${Build}-0.arm.tar.gz"
|
Release="Firebird-${Version}.${Build}-0.arm${arm}.tar.gz"
|
||||||
Debug="Firebird-withDebugInfo-${Version}.${Build}-0.arm.tar.gz"
|
Debug="Firebird-withDebugInfo-${Version}.${Build}-0.arm${arm}.tar.gz"
|
||||||
Stripped=strip
|
Stripped=strip
|
||||||
aStrip=${NDK}/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip
|
aStrip=${NDK}/toolchains/${cross}-4.9/prebuilt/linux-x86_64/bin/${cross}-strip
|
||||||
fbRootDir=`pwd`
|
fbRootDir=`pwd`
|
||||||
|
|
||||||
cd gen/Release
|
cd gen/Release
|
||||||
|
Loading…
Reference in New Issue
Block a user