mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
e5b88dc83f
This patch adds a new compat_libevent.[ch] set of files, and moves our Libevent compatibility and utilitity functions there. We build them into a separate .a so that nothing else in src/commmon depends on Libevent (partially fixing bug 507). Also, do not use our own built-in evdns copy when we have Libevent 2.0, whose evdns is finally good enough (thus fixing Bug 920).
19 lines
706 B
Makefile
19 lines
706 B
Makefile
bin_PROGRAMS = tor-resolve tor-gencert
|
|
noinst_PROGRAMS = tor-checkkey
|
|
|
|
tor_resolve_SOURCES = tor-resolve.c
|
|
tor_resolve_LDFLAGS = @TOR_LDFLAGS_libevent@
|
|
tor_resolve_LDADD = ../common/libor.a @TOR_LIB_WS32@
|
|
|
|
tor_gencert_SOURCES = tor-gencert.c
|
|
tor_gencert_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
|
|
@TOR_LDFLAGS_libevent@
|
|
tor_gencert_LDADD = ../common/libor.a ../common/libor-crypto.a \
|
|
-lz -lcrypto @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
|
|
|
tor_checkkey_SOURCES = tor-checkkey.c
|
|
tor_checkkey_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
|
|
@TOR_LDFLAGS_libevent@
|
|
tor_checkkey_LDADD = ../common/libor.a ../common/libor-crypto.a \
|
|
-lz -lcrypto @TOR_LIB_WS32@ @TOR_LIB_GDI@
|