summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2012-03-20 07:32:21 +0000
committerLiong Sauw Ming <ming@teluu.com>2012-03-20 07:32:21 +0000
commit6496121f32e986850b48f6d5637e21ccddb1bb22 (patch)
tree78e4af406263bb260d3b3d41cd384a36ee411a12
parentd928a352d2f0756765f414275e7dd6d9af8c4600 (diff)
Fixed #1468: Add support for iPhone configure script to detect iOS 5.1 SDK
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3978 74dad513-b988-da41-8d7b-12977e46ad98
-rwxr-xr-xconfigure-iphone5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure-iphone b/configure-iphone
index 29dfcbc2..e7e4f203 100755
--- a/configure-iphone
+++ b/configure-iphone
@@ -25,7 +25,10 @@ fi
# Set the main iPhone developer directory, if not set
if test "x${DEVPATH}" = "x"; then
- DEVPATH=/Developer/Platforms/iPhoneOS.platform/Developer
+ DEVPATH=/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
+ if test ! -d $DEVPATH; then
+ DEVPATH=/Developer/Platforms/iPhoneOS.platform/Developer
+ fi
echo "$F: DEVPATH is not specified, using ${DEVPATH}"
fi