From 6dcabf31206ee06ada362e64d25aa9ddf20e4836 Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Thu, 7 Mar 2002 10:04:49 +0000 Subject: backport my checkin of revision 1.84 of setup.py revision 1.293 of configure.in Apply Jack's patch attached to [ 508779 ] Disable flat namespace on MacOS X I presume you wanted this on the trunk too, Jack? 2.2.1 candidate. --- configure.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 385ff57eaa..39b55f2c98 100644 --- a/configure.in +++ b/configure.in @@ -793,8 +793,9 @@ then # Link against the framework. All externals should be defined. LDSHARED="$LDSHARED "'-framework $(PYTHONFRAMEWORK)' else - # No framework. Ignore undefined symbols, assuming they come from Python - LDSHARED="$LDSHARED -flat_namespace -undefined suppress" + # No framework, use the Python app as bundle-loader + BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)' + LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/$(PYTHON)' fi ;; Linux*) LDSHARED="gcc -shared";; dgux*) LDSHARED="ld -G";; -- cgit v1.2.1