diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-11 12:57:30 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-11 13:22:20 -0400 |
commit | 79267bad654ed39f13e6fb89a5468f23468c3169 (patch) | |
tree | 46be8aac78ff4d0074e749a8b4eb1d050d686b4c /Makefile.am | |
parent | 92db96d80fddca5394a24256bb6b4691f380a8ae (diff) | |
download | tor-79267bad654ed39f13e6fb89a5468f23468c3169.tar.gz tor-79267bad654ed39f13e6fb89a5468f23468c3169.zip |
Add a configure switch to build with NSS.
When it is set, include the NSS headers and libraries as
appropriate. Doesn't actually use them yet, though.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index cf268b0b7b..01ed8c935e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -129,6 +129,11 @@ TOR_INTERNAL_TESTING_LIBS = \ TOR_LDFLAGS_CRYPTLIB=@TOR_LDFLAGS_openssl@ TOR_LIBS_CRYPTLIB=@TOR_OPENSSL_LIBS@ +TOR_CFLAGS_CRYPTLIB= +if USE_NSS +TOR_CFLAGS_CRYPTLIB+=@NSS_CFLAGS@ +TOR_LIBS_CRYPTLIB+=@NSS_LIBS@ +endif # All libraries used to link tor-cov |