From 9ca3875079adf175f31f568e45aabc37e3409000 Mon Sep 17 00:00:00 2001 From: tox-user <32248732+tox-user@users.noreply.github.com> Date: Sun, 1 Jul 2018 17:17:19 +0000 Subject: [PATCH] fix: local toxcore install with bootstrap.sh Fixes #5199 --- bootstrap.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index c0a89328c..af8dea075 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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