diff --git a/Cargo.toml b/Cargo.toml
index 3ec3e0c6e5e2310e266d7f76f9162c5d308e2573..8b9d4522e8d32173ce4b6f96d57709bfea34ba75 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,3 +14,10 @@ lettre = { version = "0.10.0-rc.4", features = [
   "smtp-transport",
   "native-tls",
 ] }
+openssl-sys = "*"
+
+[features]
+# Force openssl-sys to staticly link in the openssl library. Necessary when
+# cross compiling to x86_64-unknown-linux-musl and 32 bit.
+vendored = ["openssl-sys/vendored"]
+