Using the headers for x86_64 instead of i386
RC4_INT is defined as unsigned char for i386, armv7, armv7s, arm64 which causes stack corruption for x86_64 platform.
This commit is contained in:
parent
a8aeebfac5
commit
fd7f063923
|
@ -190,7 +190,7 @@ lipo -create ${CURRENTPATH}/bin/AppleTVSimulator${TVOS_SDKVERSION}-x86_64.sdk/li
|
||||||
lipo -create ${CURRENTPATH}/bin/AppleTVSimulator${TVOS_SDKVERSION}-x86_64.sdk/lib/libcrypto.a ${CURRENTPATH}/bin/AppleTVOS${TVOS_SDKVERSION}-arm64.sdk/lib/libcrypto.a -output ${CURRENTPATH}/lib/libcrypto-tvOS.a
|
lipo -create ${CURRENTPATH}/bin/AppleTVSimulator${TVOS_SDKVERSION}-x86_64.sdk/lib/libcrypto.a ${CURRENTPATH}/bin/AppleTVOS${TVOS_SDKVERSION}-arm64.sdk/lib/libcrypto.a -output ${CURRENTPATH}/lib/libcrypto-tvOS.a
|
||||||
|
|
||||||
mkdir -p ${CURRENTPATH}/include
|
mkdir -p ${CURRENTPATH}/include
|
||||||
cp -R ${CURRENTPATH}/bin/iPhoneSimulator${IOS_SDKVERSION}-i386.sdk/include/openssl ${CURRENTPATH}/include/
|
cp -R ${CURRENTPATH}/bin/iPhoneSimulator${IOS_SDKVERSION}-x86_64.sdk/include/openssl ${CURRENTPATH}/include/
|
||||||
echo "Building done."
|
echo "Building done."
|
||||||
echo "Cleaning up..."
|
echo "Cleaning up..."
|
||||||
rm -rf ${CURRENTPATH}/src/openssl-${VERSION}
|
rm -rf ${CURRENTPATH}/src/openssl-${VERSION}
|
||||||
|
|
Loading…
Reference in New Issue