Add link attribute

This commit is contained in:
Steven Fackler 2013-09-02 19:08:37 -07:00
parent 3d8d35d840
commit 03e0ab29e2
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@ RUSTFLAGS += -L. --cfg debug -Z debug-info
all: postgres.dummy
postgres.dummy: src/lib.rs src/message.rs src/types.rs
$(RUSTC) $(RUSTFLAGS) --lib src/lib.rs -o $@
$(RUSTC) $(RUSTFLAGS) --lib src/lib.rs --out-dir .
touch $@
.PHONY: check

View File

@ -1,3 +1,7 @@
#[link(name = "postgres",
vers = "0.1",
url = "https://github.com/sfackler/rust-postgres")];
extern mod extra;
use extra::container::Deque;