Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

iOS 7 compile issue #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Editors leave these lying around
\#*\#
.#*
*~
*.swp

# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.obj
*.lib
*.dylib
*.a

# Patch leaves these lying arround
*.orig
*.rej

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store*
ehthumbs.db
Icon?
Thumbs.db


16 changes: 8 additions & 8 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ function do_loadenv {
function do_export {
unset CFLAGS
if [[ ${ARCH} != "system" ]]; then
export DEVROOT="/Developer/Platforms/${PLATFORM}.platform/Developer"
export SDKROOT="/Developer/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}$SDK_VERSION.sdk"
export DEVROOT="/Applications/Xcode.app/Contents/Developer/Platforms/${PLATFORM}.platform/Developer"
export SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}$SDK_VERSION.sdk"
export LD=${DEVROOT}/usr/bin/ld
export CPP=/usr/bin/cpp
export CXX="${DEVROOT}/usr/bin/g++"
Expand Down Expand Up @@ -242,12 +242,12 @@ mkdir -p ${TEMP_DIR}
if [[ $BUILD_FILTER == *ssl* ]]; then
do_openssl
fi
if [[ $BUILD_FILTER == *curl* ]]; then
do_curl
fi
#if [[ $BUILD_FILTER == *curl* ]]; then
# do_curl
#fi
if [[ $BUILD_FILTER == *libev* ]]; then
do_libevent
fi
if [[ $BUILD_FILTER == *trans* ]]; then
do_transmission
fi
#if [[ $BUILD_FILTER == *trans* ]]; then
# do_transmission
#fi
9 changes: 5 additions & 4 deletions configuration
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

#########################

ARCH="armv7"
#ARCH="armv7"
ARCH="i386"

SDK_VERSION="5.0"
SDK_VERSION="5.1"
PARALLEL_NUM=1

CURL_VERSION=7.21.5
LIBEVENT_VERSION="2.0.16-stable"
OPENSSL_VERSION=1.0.0e
LIBEVENT_VERSION="2.0.19-stable"
OPENSSL_VERSION=1.0.1c
TRANSMISSION_VERSION=2.50

#########################
Expand Down