Use dynamic linking where possible.

Arch moves towards 'no static libraries' policy and removes libs from its packages.