Fix build errors on case sensitive file systems

Building OpenSSL for iPhone on a case sensitive file system was not
possible because some paths did not use the correct path names.
This commit is contained in:
Marcus Karlsson 2012-04-22 10:13:11 +02:00
parent 41174856ed
commit 20be38aa05
2 changed files with 4 additions and 4 deletions

View File

@ -9,9 +9,9 @@
//
#import "ViewController.h"
#include <Openssl/md5.h>
#include <Openssl/sha.h>
#include <Openssl/opensslv.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
#include <openssl/opensslv.h>
@implementation ViewController

View File

@ -68,7 +68,7 @@ do
mkdir -p "${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk"
LOG="${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk/build-openssl-${VERSION}.log"
./configure BSD-generic32 --openssldir="${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk" > "${LOG}" 2>&1
./Configure BSD-generic32 --openssldir="${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk" > "${LOG}" 2>&1
# add -isysroot to CC=
sed -ie "s!^CFLAG=!CFLAG=-isysroot ${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk !" "Makefile"