Fix link errors for crypt() with --no-add-needed/--no-copy-dt-needed-entries, which is the default for the gold linker.