]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix linking on systems without a working stdatomic.h
authorNick Mathewson <nickm@torproject.org>
Tue, 13 May 2025 12:39:42 +0000 (08:39 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 13 May 2025 12:39:42 +0000 (08:39 -0400)
commit238c4c5cd8799e6b88347751f59545cfcb230ec4
tree3c5b1373ec203a9896b1f4c548a4f836349a08d3
parent58248adab617eb240d6d8accd7620a1cabc1a1ff
Fix linking on systems without a working stdatomic.h

Static libraries need to be sorted in a dependency order, with the
most low-level libraries last.  When we added an atomic counter to
util_bug.c in !760, we introduced a dependency from "log" to
"threads".  This didn't show up immediately, since the dependency
only exists when we're emulating atomic operations due to lack of
platform support.

Fixes bug #41076; bugfix on 0.4.9.1-alpha.
Makefile.am
changes/bug41076 [new file with mode: 0644]