Merge branch '1933-disable-static-linking' into 'main'

Disable and disallow static linking

Closes #1933

See merge request !3697
4 jobs for main in 2 minutes and 44 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Autoconf
passed #971820
amd64 linux
autoreconf

00:00:17

 
  Build
passed #971821
amd64 linux
abi-check

00:02:26

 
  Docs
passed #971822
amd64 linux
docs

00:00:40

 
  Push
passed #971823
amd64 linux
push:docs

00:00:09