summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-08-21 12:12:55 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-08-21 12:12:55 +0800
commit516e6a00c2121d0101e0f5e9e076dc72e48ce1fe (patch)
tree82ef7089a58aecbc4fe86e6271d3e358daa25083
parent739443094434e2622abd1fea5d2b5a03bc1ba0ef (diff)
downloadmrust-516e6a00c2121d0101e0f5e9e076dc72e48ce1fe.tar.gz
Makefile - Add library directory
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 77523da3..4fa4e325 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,7 @@ CXXFLAGS += -Wno-misleading-indentation
RUST_FLAGS := --cfg debug_assertions
RUST_FLAGS += -g
RUST_FLAGS += -O
+RUST_FLAGS += -L output/
RUST_FLAGS += $(RUST_FLAGS_EXTRA)
# > TODO: This is needed for anything that uses libstd. build.rs adds it with cargo magic, no idea how it gets to the rlib
RUST_FLAGS += -lbacktrace -ldl -lrt -lpthread