diff options
author | David Goulet <dgoulet@torproject.org> | 2020-11-18 11:24:38 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-12-08 09:14:49 -0500 |
commit | c618c4f27986825df2026fb22b8ee222edd1afa1 (patch) | |
tree | 6acbb180234e26cf597a73e5dabb8398fec1e0cb /changes | |
parent | 2f87b2ab75e29cbd9ee2989c5e7739234818e4d4 (diff) | |
download | tor-c618c4f27986825df2026fb22b8ee222edd1afa1.tar.gz tor-c618c4f27986825df2026fb22b8ee222edd1afa1.zip |
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>
Diffstat (limited to 'changes')
-rw-r--r-- | changes/ticket40111 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/changes/ticket40111 b/changes/ticket40111 new file mode 100644 index 0000000000..a82ca0d489 --- /dev/null +++ b/changes/ticket40111 @@ -0,0 +1,7 @@ + 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. |