|
@@ -13,10 +13,13 @@ tor_SOURCES = buffers.c circuitbuild.c circuitlist.c \
|
|
eventdns.c \
|
|
eventdns.c \
|
|
tor_main.c
|
|
tor_main.c
|
|
|
|
|
|
-tor_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ @TOR_LDFLAGS_libevent@ \
|
|
+# -L flags need to go in LDFLAGS. -l flags need to go in LDADD.
|
|
- -lz -levent -lssl -lcrypto @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
|
+# This seems to matter nowhere but on windows, but I assure you that it
|
|
-tor_LDADD = ../common/libor.a ../common/libor-crypto.a
|
|
+# matters a lot there, and is quite hard to debug if you forget to do it.
|
|
|
|
|
|
|
|
+tor_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ @TOR_LDFLAGS_libevent@
|
|
|
|
+tor_LDADD = ../common/libor.a ../common/libor-crypto.a \
|
|
|
|
+ -lz -levent -lssl -lcrypto @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
|
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 \
|
|
connection.c connection_edge.c connection_or.c control.c \
|
|
connection.c connection_edge.c connection_or.c control.c \
|
|
@@ -27,9 +30,9 @@ test_SOURCES = buffers.c circuitbuild.c circuitlist.c \
|
|
test.c
|
|
test.c
|
|
|
|
|
|
test_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
|
|
test_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ \
|
|
- @TOR_LDFLAGS_libevent@ -lz -levent -lssl -lcrypto \
|
|
+ @TOR_LDFLAGS_libevent@
|
|
- @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
|
+test_LDADD = ../common/libor.a ../common/libor-crypto.a \
|
|
-test_LDADD = ../common/libor.a ../common/libor-crypto.a
|
|
+ -lz -levent -lssl -lcrypto @TOR_LIB_WS32@ @TOR_LIB_GDI@
|
|
|
|
|
|
noinst_HEADERS = or.h eventdns.h eventdns_tor.h micro-revision.i
|
|
noinst_HEADERS = or.h eventdns.h eventdns_tor.h micro-revision.i
|
|
|
|
|