-dy specifies dynamic linking, which is the default, in the link editor.
-dn specifies static linking in the link editor.
This option and its arguments are passed to ld(1).
This option causes fatal errors if you use it in combination with dynamic libraries. Most system libraries are only available as dynamic libraries.