diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2018-05-16 19:35:12 -0400 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2018-06-27 14:42:06 -0500 |
commit | 614a78ddaa8e28919cab79156b43cb16e5fb9f04 (patch) | |
tree | 40d7b081eeadb7a88fc75d4fb09c0d7768a709b4 /src/rust/tor_rust | |
parent | c08102ea777ddaaa8404021a1c8b84082f5eff8b (diff) | |
download | tor-614a78ddaa8e28919cab79156b43cb16e5fb9f04.tar.gz tor-614a78ddaa8e28919cab79156b43cb16e5fb9f04.zip |
Fix Rust cross compilation.
Diffstat (limited to 'src/rust/tor_rust')
-rw-r--r-- | src/rust/tor_rust/include.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rust/tor_rust/include.am b/src/rust/tor_rust/include.am index c02324cb77..bcf94193f4 100644 --- a/src/rust/tor_rust/include.am +++ b/src/rust/tor_rust/include.am @@ -4,7 +4,7 @@ EXTRA_DIST +=\ EXTRA_CARGO_OPTIONS= -src/rust/target/release/@TOR_RUST_STATIC_NAME@: FORCE +@TOR_RUST_LIB_PATH@: FORCE ( cd "$(abs_top_builddir)/src/rust" ; \ CARGO_TARGET_DIR="$(abs_top_builddir)/src/rust/target" \ CARGO_HOME="$(abs_top_builddir)/src/rust" \ @@ -22,7 +22,7 @@ distclean-rust: rm -rf "$(abs_top_builddir)/src/rust/registry" if USE_RUST -build-rust: src/rust/target/release/@TOR_RUST_STATIC_NAME@ +build-rust: @TOR_RUST_LIB_PATH@ else build-rust: endif |