fixed obfsproxy android patch build error

This commit is contained in:
n8fr8 2012-06-28 00:28:48 -04:00
parent f614a46f8f
commit e74ac90edf
1 changed files with 3 additions and 2 deletions

5
external/Makefile vendored
View File

@ -72,9 +72,10 @@ openssl-static-build-stamp: openssl-static/obj/local/armeabi/libcrypto.a openssl
openssl-static: openssl-static-build-stamp openssl-static: openssl-static-build-stamp
test -d lib || mkdir lib test -d lib || mkdir lib
test -d include || mkdir include 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/libcrypto.a lib
cp openssl-static/obj/local/armeabi/libssl.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: openssl-static-clean:
-cd openssl-static && \ -cd openssl-static && \
@ -159,7 +160,7 @@ tor-clean:
obfsproxy/Makefile: obfsproxy/Makefile:
cp obfsproxy_android_no_hardening.patch obfsproxy cp obfsproxy_android_no_hardening.patch obfsproxy
cd obfsproxy && \ -cd obfsproxy && \
patch -N -p1 --reject-file=- < obfsproxy_android_no_hardening.patch patch -N -p1 --reject-file=- < obfsproxy_android_no_hardening.patch
cd obfsproxy && \ cd obfsproxy && \
./autogen.sh ./autogen.sh