|
|
před 1 rokem | |
|---|---|---|
| .. | ||
| config | před 1 rokem | |
| proof | před 1 rokem | |
| script | před 1 rokem | |
| src | před 1 rokem | |
| .gitignore | před 2 roky | |
| Cargo.toml | před 1 rokem | |
| Makefile | před 2 roky | |
| README.md | před 2 roky | |
| android.Dockerfile | před 1 rokem | |
| build.rs | před 1 rokem | |
| darkirc_config.toml | před 1 rokem | |
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