summaryrefslogtreecommitdiff
path: root/data/python
diff options
context:
space:
mode:
Diffstat (limited to 'data/python')
-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