|
|
7 luni în urmă | |
|---|---|---|
| .. | ||
| config | 7 luni în urmă | |
| proof | 1 an în urmă | |
| script | 7 luni în urmă | |
| src | 7 luni în urmă | |
| .gitignore | 2 ani în urmă | |
| Cargo.toml | 7 luni în urmă | |
| Makefile | 1 an în urmă | |
| README.md | 7 luni în urmă | |
| android.Dockerfile | 11 luni în urmă | |
| build.rs | 7 luni în urmă | |
| darkirc_config.toml | 7 luni în urmă | |
Check the Installation Guide for more detailed information about the ins and outs of darkirc.
android-ndkopenssl with the Android toolchainsqlcipher with the Android toolchain and the openssl libdarkirc$ git clone https://github.com/openssl/openssl
$ cd openssl
$ export ANDROID_NDK_ROOT="/opt/android-ndk"
$ export PATH="$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
$ ./Configure android-arm64 -D__ANDROID_API__=32
$ make -j$(nproc)
$ git clone https://github.com/sqlcipher/sqlcipher
$ cd sqlcipher
$ sed -e 's/strchrnul//' -i configure
$ export ANDROID_NDK_ROOT="/opt/android-ndk"
$ export PATH="$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
$ CC=aarch64-linux-android32-clang \
CPPFLAGS="-I$PWD/../openssl/include" \
LDFLAGS="-L$PWD/../openssl" \
./configure \
--host=aarch64-linux-android32 \
--disable-shared \
--enable-static \
--enable-cross-thread-connections \
--enable-releasemode \
--disable-tcl
$ make -j$(nproc)
$ ./libtool --mode install install libsqlcipher.la $PWD
$ make darkirc.android64