Author: bugman Date: Thu Nov 9 09:17:36 2006 New Revision: 2791 URL: http://svn.gna.org/viewcvs/relax?rev=2791&view=rev Log: An attempt to change the shared library suffix from '.dylib' to '.so' on Mac OS X. This problem was reported by Douglas Kojetin <douglas dot kojetin at gmail dot com> at https://mail.gna.org/public/relax-users/2006-11/msg00002.html (Message-id: <AD17DD2D-A37B-44D4-B1B8-1A2349EC7EC5@xxxxxxxxx>) and as bug #7670 (https://gna.org/bugs/?7670). To use a different suffix, I have explicitly set the 'SHLIBSUFFIX' environmental variable to '.so'. This should overwrite the SCons default of '.dylib'. Modified: 1.3/sconstruct Modified: 1.3/sconstruct URL: http://svn.gna.org/viewcvs/relax/1.3/sconstruct?rev=2791&r1=2790&r2=2791&view=diff ============================================================================== --- 1.3/sconstruct (original) +++ 1.3/sconstruct Thu Nov 9 09:17:36 2006 @@ -486,6 +486,7 @@ if env['PLATFORM'] == 'darwin': env.Append(LINKFLAGS = ['-bundle', '-bundle_loader', sys.prefix + path.sep + 'bin' + path.sep + 'python', '-dynamic']) env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS') + env['SHLIBSUFFIX'] = '.so' # Loop over the relaxation curve fitting files. nodes = []