From 6dc78f069a134529b4b3140df65c3c1fcd70faee Mon Sep 17 00:00:00 2001 From: Mayur Nagekar Date: Tue, 1 Mar 2016 15:31:28 +0530 Subject: [PATCH 1/2] profile phoneos --- crypto777/m_ios | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto777/m_ios b/crypto777/m_ios index c579b9661..218b8f3c6 100755 --- a/crypto777/m_ios +++ b/crypto777/m_ios @@ -1,5 +1,5 @@ CC="$(xcrun --sdk iphoneos --find clang) -isysroot $(xcrun --sdk iphoneos --show-sdk-path) -arch armv7 -arch arm64 -arch armv7s -ONLY_ACTIVE_ARCH=YES" -AR="$(xcrun --sdk iphones --find ar)" +AR="$(xcrun --sdk iphoneos --find ar)" $CC -c -O2 *.c jpeg/*.c jpeg/unix/*.c rm -f ../agents/libcrypto777.a; $AR -rcs ../agents/libcrypto777.a *.o From 06a40c507f1cec694c05d7330fc923ad08ed4c53 Mon Sep 17 00:00:00 2001 From: Mayur Nagekar Date: Tue, 1 Mar 2016 16:00:20 +0530 Subject: [PATCH 2/2] Including curl libraries path --- crypto777/m_ios | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crypto777/m_ios b/crypto777/m_ios index 218b8f3c6..6afeef994 100755 --- a/crypto777/m_ios +++ b/crypto777/m_ios @@ -1,5 +1,8 @@ + CC="$(xcrun --sdk iphoneos --find clang) -isysroot $(xcrun --sdk iphoneos --show-sdk-path) -arch armv7 -arch arm64 -arch armv7s -ONLY_ACTIVE_ARCH=YES" AR="$(xcrun --sdk iphoneos --find ar)" -$CC -c -O2 *.c jpeg/*.c jpeg/unix/*.c +echo Compiling .. + +$CC -I /usr/local/opt/curl/include/ -c -O2 *.c jpeg/*.c jpeg/unix/*.c -I/usr/local/opt/ rm -f ../agents/libcrypto777.a; $AR -rcs ../agents/libcrypto777.a *.o