aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/tor/build.sh
diff options
context:
space:
mode:
authorGravatar DavidKorczynski <david@adalogics.com>2022-01-19 13:14:20 +0000
committerGravatar GitHub <noreply@github.com>2022-01-19 13:14:20 +0000
commit8b01f03d4bac222ce1d2b77e27e95eb20cdfe26e (patch)
tree5b90b4dd552f441b3503d329fbd7f1842da8b40b /projects/tor/build.sh
parent5fa5f3150bf3b8c6d1c6e08a63d7f37e73f59878 (diff)
tor: fix build (#7154)
Diffstat (limited to 'projects/tor/build.sh')
-rw-r--r--projects/tor/build.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/projects/tor/build.sh b/projects/tor/build.sh
index 8f4d029b..1a4c35bc 100644
--- a/projects/tor/build.sh
+++ b/projects/tor/build.sh
@@ -21,11 +21,9 @@ mkdir -p $TOR_DEPS
# Build libevent with proper instrumentation.
cd ${SRC}/libevent
-sh autogen.sh
-./configure --prefix=${TOR_DEPS} --disable-openssl
-make -j$(nproc) clean
-make -j$(nproc) all
-make install
+mkdir build && cd build
+cmake -DEVENT__DISABLE_MBEDTLS=ON -DEVENT__DISABLE_OPENSSL=ON -DEVENT__LIBRARY_TYPE=STATIC ../
+make && make install
# Build OpenSSL with proper instrumentation.
cd ${SRC}/openssl