[tor-commits] [orbot/master] fixed obfsproxy android patch build error

n8fr8 at torproject.org n8fr8 at torproject.org
Thu Jun 28 05:18:41 UTC 2012


commit e74ac90edf06a8cc89d79f35e281a619ee655ec3
Author: n8fr8 <nathan at freitas.net>
Date:   Thu Jun 28 00:28:48 2012 -0400

    fixed obfsproxy android patch build error
---
 external/Makefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/external/Makefile b/external/Makefile
index ad45b5b..f82c4c6 100644
--- a/external/Makefile
+++ b/external/Makefile
@@ -72,9 +72,10 @@ openssl-static-build-stamp: openssl-static/obj/local/armeabi/libcrypto.a openssl
 openssl-static: openssl-static-build-stamp
 	test -d lib || mkdir lib
 	test -d include || mkdir include
+	test -d include/openssl || mkdir include/openssl
 	cp openssl-static/obj/local/armeabi/libcrypto.a lib
 	cp openssl-static/obj/local/armeabi/libssl.a lib
-	cp -R openssl-static/include/openssl include 
+	cp openssl-static/include/openssl/* include/openssl
 
 openssl-static-clean:
 	-cd openssl-static && \
@@ -159,7 +160,7 @@ tor-clean:
 
 obfsproxy/Makefile: 
 	cp obfsproxy_android_no_hardening.patch obfsproxy
-	cd obfsproxy && \
+	-cd obfsproxy && \
 	 	patch -N -p1 --reject-file=- < obfsproxy_android_no_hardening.patch
 	cd obfsproxy && \
 	 	./autogen.sh





More information about the tor-commits mailing list