From 935ca1018e81b45d220b1ec70a3349177af9d8c1 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 28 Dec 2004 21:30:35 +0000 Subject: 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. --- Mac/OSX/fixapplepython23.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v0.12