aboutsummaryrefslogtreecommitdiff
path: root/src/or/Makefile.am
diff options
context:
space:
mode:
authorMartin Hebnes Pedersen <martin.h.pedersen@gmail.com>2011-12-17 14:30:41 +0100
committerNick Mathewson <nickm@torproject.org>2011-12-19 11:27:08 -0500
commitf783a326b82518bf75b1d3952332b05aac7ffd9b (patch)
tree44a83bb7b7470029d5e6dd061459f6779b5a59fa /src/or/Makefile.am
parent37504b5efae2e1423ec09eae6fc6d1e229987e3d (diff)
downloadtor-f783a326b82518bf75b1d3952332b05aac7ffd9b.tar.gz
tor-f783a326b82518bf75b1d3952332b05aac7ffd9b.zip
-lm should not be hardcoded.
On some platforms (Haiku/BeOS) libm lives in libcore. Also added 'network' to the list of libraries to search for connect().
Diffstat (limited to 'src/or/Makefile.am')
-rw-r--r--src/or/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/Makefile.am b/src/or/Makefile.am
index a5682081ae..57f5dd65e4 100644
--- a/src/or/Makefile.am
+++ b/src/or/Makefile.am
@@ -74,7 +74,7 @@ AM_CPPFLAGS = -DSHARE_DATADIR="\"$(datadir)\"" \
tor_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ @TOR_LDFLAGS_libevent@
tor_LDADD = ./libtor.a ../common/libor.a ../common/libor-crypto.a \
../common/libor-event.a \
- @TOR_ZLIB_LIBS@ -lm @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ \
+ @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ \
@TOR_LIB_WS32@ @TOR_LIB_GDI@
noinst_HEADERS = \