Download and install ndk unzip in your home (ndk-r17c is the last with gcc support)
install firebird build dependenciessudo apt-get build-dep firebird3.0
export NDK=$HOME/android-ndk-r17c echo $NDKget the Firebird 3.0 source code
git clone https://github.com/FirebirdSQL/firebird.git cd firebird
git checkout B3_0_Release
./autogen.sh --prefix=/opt/firebird --enable-binreloc --with-cross-build=android.arm64 --without-editline
make
after that the libfbclient.so is created for arm-64
file gen/buildroot/opt/firebird/lib/libfbclient.so.3.0.0 gen/buildroot/opt/firebird/lib/libfbclient.so.3.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=b6cb7db07fcad2475aa79352fb515cbe3ac44eea, stripped
Soon i will add a download link
ps: fbclient.so in 3.0 can be used as embedded
No comments:
Post a Comment