tor: fix build (#7154)

This commit is contained in:
DavidKorczynski 2022-01-19 13:14:20 +00:00 committed by GitHub
parent 5fa5f3150b
commit 8b01f03d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -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