tor/changes/ticket40111
David Goulet c618c4f279 configure: Fix the --enable-static-tor switch
The "-static" compile flag was set globally which means that all autoconf test
were attempting to be built statically and lead to failures of detecting
OpenSSL libraries and others.

This commit adds this flag only to the "tor" binary build.

There is also a fix on where to find libevent.a since it is using libtool, it
is in .libs/.

At this commit, there are still warnings being emitted that informs the user
that the built binary must still be linked dynamically with glibc.

Fixes #40111

Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-12-08 09:14:49 -05:00

8 lines
402 B
Plaintext

o Minor bugfixes (configure, build):
- Fix the --enable-static-tor switch to properly set the -static compile
option onto the tor binary only. Fixes bug 40111; bugfix on
0.2.3.1-alpha.
- Path to static libevent has been fixed as well which affects the
--enable-static-libevent to behave correctly now. The .a file is in
.libs/ of libevent repository, not at the root.