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:
commit
6c0fb9a0f5
32
INSTALL.md
32
INSTALL.md
@ -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've used script, you can skip directly to [compiling qTox](#compile-qtox).
|
||||||
|
|
||||||
|
|
||||||
If you want to compile and install it manually:
|
If you want to compile and install it manually:
|
||||||
```bash
|
```
|
||||||
git clone https://github.com/irungentoo/filter_audio
|
git clone https://github.com/irungentoo/filter_audio
|
||||||
cd filter_audio
|
cd filter_audio
|
||||||
make -j$(nproc)
|
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).
|
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
|
git clone https://github.com/sqlcipher/sqlcipher
|
||||||
cd sqlcipher
|
cd sqlcipher
|
||||||
autoreconf -if
|
autoreconf -if
|
||||||
@ -387,7 +388,30 @@ autoreconf -if
|
|||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
sudo make install
|
sudo make install
|
||||||
cd ..
|
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
|
### toxcore compiling
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user