Merge pull request #25 from ebfe/crate_id

Update for crate_id related changes.
This commit is contained in:
Steven Fackler 2014-07-07 12:17:48 -04:00
commit ad915f13ae
2 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@ RUSTFLAGS += -O --cfg ndebug $(RUSTCFGS)
INSTALL_DIR := %PREFIX%
OPENSSL_LIB := lib.rs
OPENSSL := $(foreach file,$(shell $(RUSTC) --crate-file-name $(OPENSSL_LIB)),$(BUILDDIR)/$(file))
OPENSSL_TEST := $(BUILDDIR)/$(shell $(RUSTC) --test --crate-file-name $(OPENSSL_LIB))
OPENSSL := $(foreach file,$(shell $(RUSTC) --print-file-name $(OPENSSL_LIB)),$(BUILDDIR)/$(file))
OPENSSL_TEST := $(BUILDDIR)/$(shell $(RUSTC) --test --print-file-name $(OPENSSL_LIB))
all: $(OPENSSL)

2
lib.rs
View File

@ -1,5 +1,5 @@
#![feature(struct_variant, macro_rules)]
#![crate_id="github.com/sfackler/rust-openssl#openssl:0.0"]
#![crate_name="openssl"]
#![crate_type="rlib"]
#![crate_type="dylib"]
#![doc(html_root_url="http://www.rust-ci.org/sfackler/rust-openssl/doc")]