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:
parent
41174856ed
commit
20be38aa05
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue