summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-07-30 08:36:54 +0000
committerJay Freeman <saurik@saurik.com>2008-07-30 08:36:54 +0000
commitc14bbdc8ac5390ebeb925f67fcb2be4021946e15 (patch)
tree8eaf1287ec07d0ba10e1238ba07ede99e0a3b3ff /data
parentce62c7bc41917bc23dec800b7ada2a908576c2ab (diff)
Fixed Python build on 2.x.
git-svn-id: http://svn.telesphoreo.org/trunk@405 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-rwxr-xr-xdata/python/_metadata/preinst1
-rw-r--r--data/python/cross.diff7
2 files changed, 7 insertions, 1 deletions
diff --git a/data/python/_metadata/preinst b/data/python/_metadata/preinst
index 5d60498a1..37b98fade 100755
--- a/data/python/_metadata/preinst
+++ b/data/python/_metadata/preinst
@@ -1,2 +1,3 @@
#!/bin/bash
/usr/libexec/cydia/move.sh /usr/lib/python2.5
+exit 0
diff --git a/data/python/cross.diff b/data/python/cross.diff
index d7ab476d9..68c84d061 100644
--- a/data/python/cross.diff
+++ b/data/python/cross.diff
@@ -27,7 +27,7 @@ diff -ru Python-2.5.1/configure.in Python-2.5.1+iPhone/configure.in
fi
AC_MSG_RESULT($SO)
AC_DEFINE_UNQUOTED(SHLIB_EXT, "$SO", [Define this to be extension of shared libraries (including the dot!).])
-@@ -1473,7 +1474,7 @@
+@@ -1473,12 +1474,11 @@
Darwin/*)
# Use -undefined dynamic_lookup whenever possible (10.3 and later).
# This allows an extension to be used in any Python
@@ -36,6 +36,11 @@ diff -ru Python-2.5.1/configure.in Python-2.5.1+iPhone/configure.in
if test ${cur_target} '>' 10.2; then
cur_target=10.3
fi
+ CONFIGURE_MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET-${cur_target}}
+- EXPORT_MACOSX_DEPLOYMENT_TARGET=''
+ if test ${MACOSX_DEPLOYMENT_TARGET-${cur_target}} '>' 10.2
+ then
+ if test "${enable_universalsdk}"; then
@@ -3367,41 +3368,6 @@
AC_MSG_RESULT(no)
fi