mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
docs(INSTALL.md): remove wrong sqlcipher compilation instructions
This commit is contained in:
parent
98aa922c31
commit
2a89a4ec0f
27
INSTALL.md
27
INSTALL.md
|
@ -325,33 +325,6 @@ sudo make install
|
||||||
If you are not using Fedora, skip this section, and go directly to compiling
|
If you are not using Fedora, skip this section, and go directly to compiling
|
||||||
[**toxcore**](#toxcore-compiling).
|
[**toxcore**](#toxcore-compiling).
|
||||||
|
|
||||||
This method automatically detects whether to link statically or dynamically,
|
|
||||||
depending on your system configs.
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/sqlcipher/sqlcipher
|
|
||||||
cd sqlcipher
|
|
||||||
autoreconf -if
|
|
||||||
./configure
|
|
||||||
make -j$(nproc)
|
|
||||||
sudo make install
|
|
||||||
cd ..
|
|
||||||
```
|
|
||||||
If you wish to explicitly link sqlcipher
|
|
||||||
[statically](#statically-linked-sqlcipher) or
|
|
||||||
[dynamically](#dynamically-linked-sqlcipher).
|
|
||||||
|
|
||||||
#### Statically linked sqlcipher
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/sqlcipher/sqlcipher
|
|
||||||
cd sqlpcipher
|
|
||||||
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" \
|
|
||||||
LDFLAGS="/opt/local/lib/libcrypto.a"
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
cd ..
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Dynamically linked sqlcipher
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/sqlcipher/sqlcipher
|
git clone https://github.com/sqlcipher/sqlcipher
|
||||||
cd sqlcipher
|
cd sqlcipher
|
||||||
|
|
Loading…
Reference in New Issue
Block a user