Merge pull request #4 from marcusk/master

Fix build errors on case sensitive file systems
This commit is contained in:
Felix Schulze 2012-04-22 01:32:25 -07:00
commit d532deca3a
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -68,7 +68,7 @@ do
mkdir -p "${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk" mkdir -p "${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk"
LOG="${CURRENTPATH}/bin/${PLATFORM}${SDKVERSION}-${ARCH}.sdk/build-openssl-${VERSION}.log" 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= # add -isysroot to CC=
sed -ie "s!^CFLAG=!CFLAG=-isysroot ${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk !" "Makefile" sed -ie "s!^CFLAG=!CFLAG=-isysroot ${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk !" "Makefile"