summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-12-15 14:32:55 -0500
committerNick Mathewson <nickm@torproject.org>2009-12-15 14:40:49 -0500
commite56747f9cf29ed788baf8805bfe391925d8a19da (patch)
tree2a8c6ec2bb649ca4f0dc86d103ed358550ec533a /src/tools
parentd086c9a7f73ce5b9b7cf4add07fa7d071b829081 (diff)
downloadtor-e56747f9cf29ed788baf8805bfe391925d8a19da.tar.gz
tor-e56747f9cf29ed788baf8805bfe391925d8a19da.zip
Refactor a bit so that it is safe to include math.h, and mostly not needed.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am
index b1e8bafb26..0880668bb9 100644
--- a/src/tools/Makefile.am
+++ b/src/tools/Makefile.am
@@ -3,16 +3,16 @@ 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_resolve_LDADD = -lm ../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@
+ -lm -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@
+ -lm -lz -lcrypto @TOR_LIB_WS32@ @TOR_LIB_GDI@