aboutsummaryrefslogtreecommitdiff
path: root/src/ffi.rs
diff options
context:
space:
mode:
authorValerii Hiora <[email protected]>2014-10-08 09:07:10 +0300
committerValerii Hiora <[email protected]>2014-10-08 19:26:38 +0300
commitfe21d4bb666ac3fbea3101d9d5ad8afe972d0e9b (patch)
treec8964af75d74b97a4ff408d2aaad7510ed2c939b /src/ffi.rs
parentMinor doc fixes and feature mentions (diff)
downloadrust-openssl-fe21d4bb666ac3fbea3101d9d5ad8afe972d0e9b.tar.xz
rust-openssl-fe21d4bb666ac3fbea3101d9d5ad8afe972d0e9b.zip
X509 Generator sample
Forcing static linking for lib wrapped as in other case doc tests fail to locate the static library
Diffstat (limited to 'src/ffi.rs')
-rwxr-xr-xsrc/ffi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index 40291869..93a25274 100755
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -193,7 +193,7 @@ extern { }
pub unsafe fn BN_is_zero(a: *mut BIGNUM) -> c_int { bn_is_zero(a) }
/* Special import from native/bn_is_zero.c */
-#[link(name="wrapped")]
+#[link(name = "wrapped", kind = "static")]
extern "C" {
pub fn bn_is_zero(a: *mut BIGNUM) -> c_int;
}