mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
Only tor and test binaries need to link against openssl and zlib; tor-resolve can be smaller.
svn:r2629
This commit is contained in:
parent
5bc0dba933
commit
ae7495dd55
@ -135,7 +135,7 @@ if (test ! -z "$ac_cv_openssldir" && test "x$ac_cv_openssldir" != "x(system)") ;
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
LIBS="$saved_LIBS -lssl -lcrypto"
|
LIBS="$saved_LIBS"
|
||||||
|
|
||||||
dnl The warning message here is no longer strictly accurate.
|
dnl The warning message here is no longer strictly accurate.
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
|
|
||||||
noinst_LIBRARIES = libor.a
|
noinst_LIBRARIES = libor.a libor-crypto.a
|
||||||
|
|
||||||
#CFLAGS = -Wall -Wpointer-arith -O2
|
#CFLAGS = -Wall -Wpointer-arith -O2
|
||||||
|
|
||||||
libor_a_SOURCES = log.c crypto.c fakepoll.c util.c aes.c tortls.c torgzip.c
|
libor_a_SOURCES = log.c fakepoll.c util.c
|
||||||
|
libor_crypto_a_SOURCES = crypto.c aes.c tortls.c torgzip.c
|
||||||
|
|
||||||
noinst_HEADERS = log.h crypto.h fakepoll.h test.h util.h aes.h torint.h tortls.h strlcpy.c strlcat.c torgzip.h
|
noinst_HEADERS = log.h crypto.h fakepoll.h test.h util.h aes.h torint.h tortls.h strlcpy.c strlcat.c torgzip.h
|
||||||
|
@ -12,7 +12,7 @@ tor_SOURCES = buffers.c circuitbuild.c circuitlist.c \
|
|||||||
rendservice.c rephist.c router.c routerlist.c routerparse.c \
|
rendservice.c rephist.c router.c routerlist.c routerparse.c \
|
||||||
tor_main.c
|
tor_main.c
|
||||||
|
|
||||||
tor_LDADD = ../common/libor.a -lz
|
tor_LDADD = ../common/libor.a ../common/libor-crypto.a -lz -lssl -lcrypto
|
||||||
|
|
||||||
test_SOURCES = buffers.c circuitbuild.c circuitlist.c \
|
test_SOURCES = buffers.c circuitbuild.c circuitlist.c \
|
||||||
circuituse.c command.c config.c \
|
circuituse.c command.c config.c \
|
||||||
@ -22,7 +22,7 @@ test_SOURCES = buffers.c circuitbuild.c circuitlist.c \
|
|||||||
rendservice.c rephist.c router.c routerlist.c routerparse.c \
|
rendservice.c rephist.c router.c routerlist.c routerparse.c \
|
||||||
test.c
|
test.c
|
||||||
|
|
||||||
test_LDADD = ../common/libor.a -lz
|
test_LDADD = ../common/libor.a ../common/libor-crypto.a -lz -lssl -lcrypto
|
||||||
|
|
||||||
noinst_HEADERS = or.h tree.h
|
noinst_HEADERS = or.h tree.h
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user