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
cd toxcore
git checkout v0.2.10
cmake .
cmake . -DBOOTSTRAP_DAEMON=OFF
make -j$(nproc)
sudo make install

View File

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

View File

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