Skip to content

configure: Fix the --enable-static-tor switch

David Goulet requested to merge dgoulet/tor:ticket40111_045_01 into maint-0.4.5

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 (closed)

Signed-off-by: David Goulet dgoulet@torproject.org

Merge request reports

Loading