[tor-commits] [orbot/master] added dep on openssl-static by libevent for some platforms

n8fr8 at torproject.org n8fr8 at torproject.org
Thu Jun 21 03:59:35 UTC 2012


commit ad4060f2a012f8a0343bed0d6dec19c728cde5a0
Author: n8fr8 <nathan at freitas.net>
Date:   Wed May 9 00:11:59 2012 -0400

    added dep on openssl-static by libevent for some platforms
---
 external/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/external/Makefile b/external/Makefile
index b6ec36a..61742bf 100644
--- a/external/Makefile
+++ b/external/Makefile
@@ -93,7 +93,7 @@ libevent/Makefile:
 	cp config.sub libevent
 	cp config.guess libevent
 	cd libevent && \
- 		CC="$(CC)" AR="$(AR)" RANLIB=$(RANLIB) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
+ 		CC="$(CC)" AR="$(AR)" RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) -I$(EXTERNAL_ROOT)/include" LDFLAGS="$(LDFLAGS)" LIBS="-L$(EXTERNAL_ROOT)/lib -lcrypto -lssl" \
 			./configure \
 				--host=$(HOST) \
 				--disable-shared
@@ -102,7 +102,7 @@ libevent-build-stamp: libevent/Makefile
 	$(MAKE) -C libevent
 	touch libevent-build-stamp
 
-libevent: libevent-build-stamp
+libevent: openssl-static libevent-build-stamp
 	test -d lib || mkdir lib
 	test -d include || mkdir include
 	cp libevent/.libs/libevent.a lib





More information about the tor-commits mailing list