diff --git a/projects/tor/Dockerfile b/projects/tor/Dockerfile index a417748ede21..a73ab3ce6172 100644 --- a/projects/tor/Dockerfile +++ b/projects/tor/Dockerfile @@ -16,7 +16,7 @@ FROM ossfuzz/base-builder MAINTAINER nickm@torproject.org -RUN apt-get install -y zlib1g zlib1g-dev libevent-dev libevent-2.0 openssl autoconf automake libssl-dev make libc++-dev +RUN apt-get install -y zlib1g zlib1g-dev libevent-dev libevent-2.0 openssl autoconf automake libssl-dev make RUN git clone https://git.torproject.org/nickm/tor.git -b combined-fuzzing-v3 RUN git clone https://github.com/nmathewson/tor-fuzz-corpora.git WORKDIR tor diff --git a/projects/tor/build.sh b/projects/tor/build.sh index 85985d775916..7bbaf0f6a1d0 100644 --- a/projects/tor/build.sh +++ b/projects/tor/build.sh @@ -37,7 +37,7 @@ TORLIBS="$TORLIBS src/common/libor-testing.a" TORLIBS="$TORLIBS src/common/libor-ctime-testing.a" TORLIBS="$TORLIBS src/common/libor-event-testing.a" TORLIBS="$TORLIBS src/trunnel/libor-trunnel-testing.a" -TORLIBS="$TORLIBS -lz -lm -lssl -lcrypto -Wl,-Bstatic -levent -Wl,-Bdynamic" +TORLIBS="$TORLIBS -lm -Wl,-Bstatic -lssl -lcrypto -levent -lz -Wl,-Bdynamic" for fuzzer in src/test/fuzz/*.a; do output="${fuzzer%.a}"