mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(osx): Allow rebuild using build script
Was failing if directory was already present on -i
(cherry picked from commit 56151ea6fd
)
This commit is contained in:
parent
b40ba27be5
commit
8f3a621fc3
|
@ -69,7 +69,7 @@ build_toxcore() {
|
||||||
[[ $TRAVIS != true ]] \
|
[[ $TRAVIS != true ]] \
|
||||||
&& sleep 3
|
&& sleep 3
|
||||||
|
|
||||||
mkdir _build && cd _build
|
mkdir -p _build && cd _build
|
||||||
fcho "Starting cmake ..."
|
fcho "Starting cmake ..."
|
||||||
#Make sure the correct version of libsodium is used
|
#Make sure the correct version of libsodium is used
|
||||||
cmake -DBOOTSTRAP_DAEMON=OFF -DLIBSODIUM_CFLAGS="-I${LS_DIR_VER}/include/" -DLIBSODIUM_LDFLAGS="L${LS_DIR_VER}/lib/" -DCMAKE_INSTALL_PREFIX="${LIB_INSTALL_PREFIX}" ..
|
cmake -DBOOTSTRAP_DAEMON=OFF -DLIBSODIUM_CFLAGS="-I${LS_DIR_VER}/include/" -DLIBSODIUM_LDFLAGS="L${LS_DIR_VER}/lib/" -DCMAKE_INSTALL_PREFIX="${LIB_INSTALL_PREFIX}" ..
|
||||||
|
|
Loading…
Reference in New Issue
Block a user