about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--btpd/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/btpd/Makefile.am b/btpd/Makefile.am
index 1f36eb1..2656659 100644
--- a/btpd/Makefile.am
+++ b/btpd/Makefile.am
@@ -15,6 +15,6 @@ btpd_SOURCES=\
 	upload.c upload.h\
 	util.c
 
-btpd_LDADD=../misc/libmisc.a ../libevent/libevent.a
+btpd_LDADD=../misc/libmisc.a ../libevent/libevent.a -lcrypto -lm
 btpd_CPPFLAGS=-I$(top_srcdir)/misc -I$(top_srcdir)/libevent @openssl_CPPFLAGS@
-btpd_LDFLAGS=@openssl_LDFLAGS@ -lcrypto -lm
+btpd_LDFLAGS=@openssl_LDFLAGS@