tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit f47c6c3d1b38a7770da007f904925a50cf687906
parent 925ec0e0ea03357537f22f5e5c774d2c5aa02ecf
Author: Emery Hemingway <ehmry@posteo.net>
Date:   Fri, 16 Apr 2021 15:17:43 +0200

scripts/build/combine_libs: use $AR rather than ar

Using a custom ar at $AR may be necessary for cross-compilation.

Closes #40369

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

Diffstat:
Achanges/ticket40369 | 2++
Mscripts/build/combine_libs | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/changes/ticket40369 b/changes/ticket40369 @@ -0,0 +1,2 @@ + o Minor feature (build, cross-compilation): + - Allow a custom ar for cross-compilation purposes. Closes ticket 40369. diff --git a/scripts/build/combine_libs b/scripts/build/combine_libs @@ -25,7 +25,7 @@ for input in "$@"; do dir="$TMPDIR"/$(basename "$input" .a) mkdir "$dir" cd "$dir">/dev/null - ar x "$abs" + "${AR:-ar}" x "$abs" done cd "$TMPDIR" >/dev/null