From 8b01f03d4bac222ce1d2b77e27e95eb20cdfe26e Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Wed, 19 Jan 2022 13:14:20 +0000 Subject: [PATCH] tor: fix build (#7154) --- projects/tor/build.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/projects/tor/build.sh b/projects/tor/build.sh index 8f4d029bc..1a4c35bc9 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