Skip to content

Commit

Permalink
[tor] static linking of libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
mikea committed Jan 10, 2017
1 parent 28457bc commit 6f23387
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/tor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

FROM ossfuzz/base-builder
MAINTAINER [email protected]
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:/nmathewson/tor-fuzz-corpora.git
WORKDIR tor
Expand Down
2 changes: 1 addition & 1 deletion projects/tor/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 6f23387

Please sign in to comment.