Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix: local toxcore install with bootstrap.sh
Browse files Browse the repository at this point in the history
Fixes #5199
  • Loading branch information
tox-user committed Jul 1, 2018
1 parent a00af08 commit 9ca3875
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,16 @@ install_toxcore() {
"${BASE_DIR}/${TOXCORE_DIR}"

pushd ${BASE_DIR}/${TOXCORE_DIR}
cmake .

# compile
make -j $(nproc)

# install
# compile and install
if [[ $SYSTEM_WIDE = "false" ]]
then
cmake . -DCMAKE_INSTALL_PREFIX=${BASE_DIR}
make -j $(nproc)
make install
else
cmake .
make -j $(nproc)
sudo make install
sudo ldconfig
fi
Expand Down

0 comments on commit 9ca3875

Please sign in to comment.