removeReferencesTo: correct region reference in fixupHook

This was causing some regions to escape the fixupHook. As a concrete
example, pkgconf's signature on aarch64-darwin was not valid because
the library was not fixed up.
This commit is contained in:
Andrew Childs 2022-03-02 12:42:09 +09:00
parent 62860b31ef
commit 44886930e2

View File

@ -32,6 +32,6 @@ done
for region in "${regions[@]}"; do
for hook in "${fixupHooks[@]}"; do
eval "$hook" "$i"
eval "$hook" "$region"
done
done