Skip to content

m4: Change LIBS order of TOR_SEARCH_LIBRARY()

David Goulet requested to merge dgoulet/tor:ticket33624_045_01 into master

Some gcc versions do explode if the order of the linker flags are not correct. One issue was statically building OpenSSL which would require that "-lssl -lcrypto" be put before the "-lpthread -ldl" flags.

I have not such problem with GCC 10 but does with GCC 9.

Closes #33624 (closed)

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

Merge request reports