mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Updated sqlcipher compile instructions for Fedora
This commit is contained in:
parent
ef5b9b8c1e
commit
719e137582
19
INSTALL.md
19
INSTALL.md
|
@ -380,6 +380,7 @@ sudo make install
|
|||
If you are not using Fedora, skip this section, and go directly to compiling [**toxcore**](#toxcore-compiling).
|
||||
|
||||
```bash
|
||||
This method Auto detects whether to statically or Dynamically link per your system configs.
|
||||
git clone https://github.com/sqlcipher/sqlcipher
|
||||
cd sqlcipher
|
||||
autoreconf -if
|
||||
|
@ -387,6 +388,24 @@ autoreconf -if
|
|||
make -j$(nproc)
|
||||
sudo make install
|
||||
cd ..
|
||||
|
||||
|
||||
Conversely, if you wish to explictly statically or dynamically link sqlcipher use:
|
||||
|
||||
Statically Linked:
|
||||
cd sqlpcipher
|
||||
$ ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" \
|
||||
LDFLAGS="/opt/local/lib/libcrypto.a"
|
||||
$ make
|
||||
$ sudo make install
|
||||
cd ..
|
||||
|
||||
Dynamically Linked:
|
||||
cd sqlcipher$ ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" \
|
||||
LDFLAGS="-lcrypto"
|
||||
$ make
|
||||
$ sudo make install
|
||||
cd ..
|
||||
````
|
||||
|
||||
### toxcore compiling
|
||||
|
|
Loading…
Reference in New Issue
Block a user