/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 960 by johnpye, Sun Dec 10 03:14:24 2006 UTC revision 965 by johnpye, Wed Dec 13 23:53:57 2006 UTC
# Line 973  def CheckPythonLib(context): Line 973  def CheckPythonLib(context):
973    
974      python_libpath = []      python_libpath = []
975      python_linkflags = []      python_linkflags = []
976      if cfig['LDLIBRARY']==cfig['LIBRARY']:      if platform.system()=="Windows":
977          sys.stdout.write("(static)")          pass
978          python_libpath += [cfig['LIBPL']]      else:
979          python_linkflags += cfig['LIBS'].split(' ')          # checked on Linux and SunOS
980            if cfig['LDLIBRARY']==cfig['LIBRARY']:
981                sys.stdout.write("(static)")
982                python_libpath += [cfig['LIBPL']]
983                python_linkflags += cfig['LIBS'].split(' ')
984    
985      context.env.AppendUnique(LIBS=python_libs)      context.env.AppendUnique(LIBS=python_libs)
986      context.env.AppendUnique(LIBPATH=python_libpath)      context.env.AppendUnique(LIBPATH=python_libpath)

Legend:
Removed from v.960  
changed lines
  Added in v.965

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22