aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in4
-rw-r--r--lib.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index ec916725..62f2e7b5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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)
diff --git a/lib.rs b/lib.rs
index 840d439c..e5719f58 100644
--- a/lib.rs
+++ b/lib.rs
@@ -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")]