diff options
| author | Steven Fackler <[email protected]> | 2014-02-09 15:49:16 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-02-09 15:49:16 -0800 |
| commit | 360fa1f04b575b2070f46611d9db3a852ab4a9d5 (patch) | |
| tree | 7e9cc4f2453e8be6ecc5939ce88e303b2953163c | |
| parent | Merge pull request #5 from zr40/sync-crate (diff) | |
| download | rust-openssl-360fa1f04b575b2070f46611d9db3a852ab4a9d5.tar.xz rust-openssl-360fa1f04b575b2070f46611d9db3a852ab4a9d5.zip | |
Build static and dynamic libs
| -rw-r--r-- | Makefile.in | 4 | ||||
| -rw-r--r-- | lib.rs | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index fc694754..fda88260 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,10 +1,10 @@ RUSTC = rustc BUILDDIR = build -RUSTFLAGS = -O -Z debug-info +RUSTFLAGS = -O -Z extra-debug-info --cfg ndebug INSTALL_DIR = %PREFIX% OPENSSL_LIB = lib.rs -OPENSSL = $(BUILDDIR)/$(shell $(RUSTC) --crate-file-name $(OPENSSL_LIB)) +OPENSSL = $(foreach file,$(shell $(RUSTC) --crate-file-name $(OPENSSL_LIB)),$(BUILDDIR)/$(file)) OPENSSL_TEST = $(BUILDDIR)/$(shell $(RUSTC) --test --crate-file-name $(OPENSSL_LIB)) all: $(OPENSSL) @@ -1,6 +1,7 @@ #[feature(struct_variant, macro_rules)]; #[crate_id="github.com/sfackler/rust-openssl#openssl:0.0"]; -#[crate_type="lib"]; +#[crate_type="rlib"]; +#[crate_type="dylib"]; #[doc(html_root_url="http://www.rust-ci.org/sfackler/rust-openssl/doc")]; extern mod extra; |