Commit f47c6c3d authored by emery's avatar emery Committed by Nick Mathewson
Browse files

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's avatarDavid Goulet <dgoulet@torproject.org>
parent 925ec0e0
o Minor feature (build, cross-compilation):
- Allow a custom ar for cross-compilation purposes. Closes ticket 40369.
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment