From 3f70cff193627ae5cac1772a77ad5097bd11e218 Mon Sep 17 00:00:00 2001 From: "Ian A. Mason" Date: Fri, 25 May 2018 16:49:52 -0700 Subject: [PATCH] Another recipe for mayhem, III. --- examples/tor_and_its_dependencies/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/examples/tor_and_its_dependencies/Makefile b/examples/tor_and_its_dependencies/Makefile index ee7c02a..eeb9bd7 100644 --- a/examples/tor_and_its_dependencies/Makefile +++ b/examples/tor_and_its_dependencies/Makefile @@ -33,7 +33,10 @@ LLVMGET=get-bc BITCODE = libz.a.bc libssl.a.bc libevent.a.bc tor.bc -all: ${BITCODE} +all: tor.bc + + +#${BITCODE} ${TOR_TARBALL}: wget ${TOR_URL} @@ -42,7 +45,9 @@ ${TOR}: ${TOR_TARBALL} tar xvfz ${TOR_TARBALL} ${TOR_INSTALL}/bin/tor: ${TOR} - cd ${TOR}; CC=${LLVMCC} ./configure --prefix=${TOR_INSTALL}; make && make install + cd ${TOR}; CC=${LLVMCC} ./configure; make && make install +#on linux we should try this: +# cd ${TOR}; CC=${LLVMCC} ./configure --disable-dependency-tracking --enable-static-tor --with-openssl-dir=${OPENSSL_INSTALL} --with-libevent-dir=${LIBEVENT_INSTALL}/lib --with-zlib-dir=${ZLIB_INSTALL} --prefix=${TOR_INSTALL}; make && make install tor.bc: ${TOR_INSTALL}/bin/tor cd ${TOR_INSTALL}/bin; ${LLVMGET} tor; mv tor.bc ${THISDIR}