```
xtrans does not understand the --with-pic and --disable-shared flags we
pass it because it is not a library. Instead, we should pass it flags
that disable features/packages we're not using so they don't get a
chance to sneak in.
```
Backport of core [[https://github.com/bitcoin/bitcoin/pull/16183 | PR16183]].