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 <>
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 ...@@ -25,7 +25,7 @@ for input in "$@"; do
dir="$TMPDIR"/$(basename "$input" .a) dir="$TMPDIR"/$(basename "$input" .a)
mkdir "$dir" mkdir "$dir"
cd "$dir">/dev/null cd "$dir">/dev/null
ar x "$abs" "${AR:-ar}" x "$abs"
done done
cd "$TMPDIR" >/dev/null cd "$TMPDIR" >/dev/null
Supports Markdown
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