Author: bugman Date: Tue Aug 18 15:17:37 2009 New Revision: 9332 URL: http://svn.gna.org/viewcvs/relax?rev=9332&view=rev Log: Applied the patch to allow compilation on Mac OS X with Python 2.6. This patch is from Jack Howarth <howarth att bromo dot med dot uc dot edu>, and was attached to the post https://mail.gna.org/public/relax-users/2009-08/msg00036.html (Message-id: <7f080ed10908180200m27620a30x7dc64731a9e02e87@xxxxxxxxxxxxxx>). The parent of this thread is https://mail.gna.org/public/relax-users/2009-08/msg00017.html (Message-id: <20090816020851.GA29683@xxxxxxxxxxxxxxxx>). Modified: 1.3/sconstruct Modified: 1.3/sconstruct URL: http://svn.gna.org/viewcvs/relax/1.3/sconstruct?rev=9332&r1=9331&r2=9332&view=diff ============================================================================== --- 1.3/sconstruct (original) +++ 1.3/sconstruct Tue Aug 18 15:17:37 2009 @@ -500,7 +500,7 @@ # Catch Mac OS X and send the correct command line options to the linker (these may become redundant as SCons improves). if env['PLATFORM'] == 'darwin': - env.Append(LINKFLAGS = ['-bundle', '-bundle_loader', sys.prefix + path.sep + 'bin' + path.sep + 'python', '-dynamic']) + env.Append(LINKFLAGS = ['-bundle', '-bundle_loader', sys.prefix + path.sep + 'bin' + path.sep + 'python', '-dynamic', '-undefined', 'dynamic_lookup']) env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS') # Shared library prefix and suffix.