aboutsummaryrefslogtreecommitdiff
path: root/rand.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rand.rs')
-rw-r--r--rand.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rand.rs b/rand.rs
index f8dd25b4..8e78c51c 100644
--- a/rand.rs
+++ b/rand.rs
@@ -4,7 +4,7 @@ use std::vec;
mod libcrypto {
use std::libc::c_int;
- #[link_args = "-lcrypto"]
+ #[link(name = "crypto")]
extern {
pub fn RAND_bytes(buf: *mut u8, num: c_int) -> c_int;
}