1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge picked commits from pull request #2971 from linux-modder:patch-13

Corey Sheldon (2):
      Updated sqlcipher compile instructions for Fedora
      Updated sqlcipher compile instructions for Fedora (Take #2)

Also, fixed some formatting.
This commit is contained in:
Zetok Zalbavar 2016-02-28 03:06:23 +00:00
commit 6c0fb9a0f5
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -366,9 +366,8 @@ The script will automatically download and install `toxcore` and `libfilteraudio
```
If you've used script, you can skip directly to [compiling qTox](#compile-qtox).
If you want to compile and install it manually:
```bash
```
git clone https://github.com/irungentoo/filter_audio
cd filter_audio
make -j$(nproc)
@ -379,7 +378,9 @@ sudo make install
If you are not using Fedora, skip this section, and go directly to compiling [**toxcore**](#toxcore-compiling).
```bash
This method automatically detects whether to link statically or dynamically,
depending on your system configs.
```
git clone https://github.com/sqlcipher/sqlcipher
cd sqlcipher
autoreconf -if
@ -387,7 +388,30 @@ autoreconf -if
make -j$(nproc)
sudo make install
cd ..
````
```
If you wish to explictly link sqlcipher statically or dynamically use:
#### Statically linked:
```
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:
```
git clone https://github.com/sqlcipher/sqlcipher
cd sqlcipher
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" \
LDFLAGS="-lcrypto"
make
sudo make install
cd ..
```
### toxcore compiling