summaryrefslogtreecommitdiffstats
path: root/Mac/OSX
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2004-12-28 21:30:35 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2004-12-28 21:30:35 (GMT)
commit935ca1018e81b45d220b1ec70a3349177af9d8c1 (patch)
tree15cba57c03ef0b206bbacf3858d3aae938a054c5 /Mac/OSX
parent3b585b30c04489f869098e5769105c7319d211c1 (diff)
downloadcpython-935ca1018e81b45d220b1ec70a3349177af9d8c1.zip
cpython-935ca1018e81b45d220b1ec70a3349177af9d8c1.tar.gz
cpython-935ca1018e81b45d220b1ec70a3349177af9d8c1.tar.bz2
Just passing -undefined dynamic_lookup isn't enough: we also need to set
the MACOSX_DEPLOYMENT_TARGET environment variable to 10.3 when calling the loader. And we do this with "env" because distutils apparently doesn't understand environment variable assignments before command names.
Diffstat (limited to 'Mac/OSX')
-rw-r--r--Mac/OSX/fixapplepython23.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/OSX/fixapplepython23.py b/Mac/OSX/fixapplepython23.py
index 4547347..c2b1f4e 100644
--- a/Mac/OSX/fixapplepython23.py
+++ b/Mac/OSX/fixapplepython23.py
@@ -18,7 +18,7 @@ import gestalt
MAKEFILE='/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config/Makefile'
OLD_LDSHARED='LDSHARED=\t$(CC) $(LDFLAGS) -bundle -framework $(PYTHONFRAMEWORK)\n'
OLD_BLDSHARED='B' + OLD_LDSHARED
-NEW_LDSHARED='LDSHARED=\t$(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup\n'
+NEW_LDSHARED='LDSHARED=\tenv MACOSX_DEPLOYMENT_TARGET=10.3 $(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup\n'
NEW_BLDSHARED='B' + NEW_LDSHARED
def findline(lines, start):