]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make the rust tests link.
authorNick Mathewson <nickm@torproject.org>
Wed, 18 Jul 2018 14:40:52 +0000 (10:40 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 31 Jul 2018 23:46:00 +0000 (19:46 -0400)
config.rust.in
src/rust/build.rs

index 4ca5351aece06a3ec8af6ca70b587bfb60a81766..11b671b980e591cc891f9f2ecf2c4f73e5bb5d21 100644 (file)
@@ -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
index 2cf85b404a0a96245400d8f1155a90b0365663f1..a35e6868c619411e06a861d1347b8408f592646d 100644 (file)
@@ -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");