aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2013-12-03 18:55:05 -0800
committerSteven Fackler <[email protected]>2013-12-03 18:55:05 -0800
commit08ef3b5b04782f65f73825bb283fce95dfbabb48 (patch)
tree9371eb9db26405c0a164666cb29301722370f044
parentRemove hacky macro module (diff)
downloadrust-openssl-08ef3b5b04782f65f73825bb283fce95dfbabb48.tar.xz
rust-openssl-08ef3b5b04782f65f73825bb283fce95dfbabb48.zip
Switch over to new link attribute
-rw-r--r--ffi.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffi.rs b/ffi.rs
index 0ff77b74..97c0554e 100644
--- a/ffi.rs
+++ b/ffi.rs
@@ -97,7 +97,8 @@ pub static XN_FLAG_RFC2253: c_ulong = 0x1110317;
pub static XN_FLAG_ONELINE: c_ulong = 0x82031f;
pub static XN_FLAG_MULTILINE: c_ulong = 0x2a40006;
-#[link_args = "-lssl -lcrypto"]
+#[link(name="ssl")]
+#[link(name="crypto")]
extern "C" {
pub fn CRYPTO_num_locks() -> c_int;
pub fn CRYPTO_set_locking_callback(func: extern "C" fn(mode: c_int,