Skip to content

Commit

Permalink
Patch tor configure to fix building with [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
borgbyte authored and jgriffiths committed May 19, 2021
1 parent 56f7039 commit 5cf1614
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/buildtor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ else
$SED -i "741s!^TOR_LIB.*! TOR_LIB_PTHREAD=-lpthread!" configure.ac
$SED -i "764a AC_SUBST(TOR_LIB_PTHREAD)" configure.ac
$SED -i "912s!^TOR_SEARCH.*!TOR_SEARCH_LIBRARY(openssl, \$tryssldir, \[-lssl -lcrypto \$TOR_LIB_GDI \$TOR_LIB_WS32 \$TOR_LIB_CRYPT32\ -ldl \$TOR_LIB_PTHREAD\],!" configure.ac
sed -ie "s!^AC_PROG_CC_C99!!" configure.ac
sh autogen.sh
./configure ${CONFIGURE_ARGS} --host=${HOST_OS}
sed -ie "s!^include src/app.*!!" "src/include.am"
Expand Down

0 comments on commit 5cf1614

Please sign in to comment.