|
|
пре 1 година | |
|---|---|---|
| .. | ||
| config | пре 2 година | |
| proof | пре 2 година | |
| script | пре 1 година | |
| src | пре 1 година | |
| .gitignore | пре 2 година | |
| Cargo.toml | пре 1 година | |
| Makefile | пре 2 година | |
| README.md | пре 2 година | |
| android.Dockerfile | пре 1 година | |
| build.rs | пре 2 година | |
| darkirc_config.toml | пре 1 година | |
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