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

chore(docs): build toxcore with bootstrap daemon disabled

toxcore requires libconfig to build the bootstrap daemon. our current
dependencies don't list libconfig, and we have no use for the bootstrap daemon,
so don't build it for qTox.
This commit is contained in:
Anthony Bilinski 2019-10-16 02:04:20 -07:00
parent a29415024a
commit 196a20f124
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
3 changed files with 4 additions and 3 deletions

View File

@ -499,7 +499,7 @@ Provided that you have all required dependencies installed, you can simply run:
git clone https://github.com/toktok/c-toxcore.git toxcore git clone https://github.com/toktok/c-toxcore.git toxcore
cd toxcore cd toxcore
git checkout v0.2.10 git checkout v0.2.10
cmake . cmake . -DBOOTSTRAP_DAEMON=OFF
make -j$(nproc) make -j$(nproc)
sudo make install sudo make install

View File

@ -114,11 +114,11 @@ install_toxcore() {
# compile and install # compile and install
if [[ $SYSTEM_WIDE = "false" ]] if [[ $SYSTEM_WIDE = "false" ]]
then then
cmake . -DCMAKE_INSTALL_PREFIX=${BASE_DIR} cmake . -DCMAKE_INSTALL_PREFIX=${BASE_DIR} -DBOOTSTRAP_DAEMON=OFF
make -j $(nproc) make -j $(nproc)
make install make install
else else
cmake . cmake . -DBOOTSTRAP_DAEMON=OFF
make -j $(nproc) make -j $(nproc)
sudo make install sudo make install
sudo ldconfig sudo ldconfig

View File

@ -145,6 +145,7 @@
{ {
"name": "c-toxcore", "name": "c-toxcore",
"buildsystem": "cmake-ninja", "buildsystem": "cmake-ninja",
"config-opts": ["-DBOOTSTRAP_DAEMON=OFF"],
"sources": [ "sources": [
{ {
"type": "git", "type": "git",