commit 99beed152e5df41181703645a67fe10a98225d55
parent 2d80673b9a7965d5b2af895c7527eb58bd6a00ce
Author: Nick Mathewson <nickm@torproject.org>
Date: Wed, 18 Jul 2018 10:40:52 -0400
Make the rust tests link.
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/config.rust.in b/config.rust.in
@@ -5,6 +5,7 @@
BUILDDIR=@BUILDDIR@
TOR_LDFLAGS_zlib=@TOR_LDFLAGS_zlib@
+TOR_LDFLAGS_nss=@TOR_LDFLAGS_nss@
TOR_LDFLAGS_openssl=@TOR_LDFLAGS_openssl@
TOR_LDFLAGS_libevent=@TOR_LDFLAGS_libevent@
TOR_ZLIB_LIBS=@TOR_ZLIB_LIBS@
@@ -20,3 +21,4 @@ TOR_LZMA_LIBS=@TOR_LZMA_LIBS@
TOR_ZSTD_LIBS=@TOR_ZSTD_LIBS@
LIBS=@LIBS@
LDFLAGS=@LDFLAGS@
+NSS_LIBS=@NSS_LIBS@
+\ No newline at end of file
diff --git a/src/rust/build.rs b/src/rust/build.rs
@@ -173,6 +173,7 @@ pub fn main() {
cfg.from_cflags("TOR_ZLIB_LIBS");
cfg.from_cflags("TOR_LIB_MATH");
+ cfg.from_cflags("NSS_LIBS");
cfg.from_cflags("TOR_OPENSSL_LIBS");
cfg.from_cflags("TOR_LIBEVENT_LIBS");
cfg.from_cflags("TOR_LIB_WS32");