Merge branch 'maint-0.4.6'

This commit is contained in:
Nick Mathewson 2021-04-19 11:30:00 -04:00
commit de33be6e32
2 changed files with 5 additions and 1 deletions

4
changes/ticket40369 Normal file
View File

@ -0,0 +1,4 @@
o Minor bugfixes (build, cross-compilation):
- Allow a custom "ar" for cross-compilation. Our previous build script
had used the $AR environment variable in most places, but it missed
one. Fixes bug 40369; bugfix on 0.4.5.1-alpha.

View File

@ -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