fn add_dynamic_crate(cmd: &mut dyn Linker, sess: &Session, cratepath: &Path)