/[ascend]/trunk/models/johnpye/fprops/python/SConscript
ViewVC logotype

Diff of /trunk/models/johnpye/fprops/python/SConscript

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

revision 2662 by jpye, Fri Jan 18 00:34:51 2013 UTC revision 2663 by jpye, Fri Jan 18 01:06:06 2013 UTC
# Line 32  if not fprops_env.get('PYTHON_LIBPATH'): Line 32  if not fprops_env.get('PYTHON_LIBPATH'):
32              python_linkflags += cfig['LIBS'].split(' ')              python_linkflags += cfig['LIBS'].split(' ')
33      fprops_env['PYTHON_LIBPATH'] = python_libpath      fprops_env['PYTHON_LIBPATH'] = python_libpath
34    
35  lib = pyenv.SharedLibrary('fprops',['fprops.i']  lib = pyenv.SharedLibrary('fprops',['fprops.i'] + fprops_env['shobjs']
36      ,LIBPATH=['#'] + fprops_env['PYTHON_LIBPATH']      ,LIBPATH=['..'] + fprops_env['PYTHON_LIBPATH']
37      ,CPPPATH=['#',distutils.sysconfig.get_python_inc()]      ,CPPPATH=['#',distutils.sysconfig.get_python_inc()]
38      ,LIBS=["fprops",python_lib % (sys.version_info[0],sys.version_info[1])]      ,LIBS=[python_lib % (sys.version_info[0],sys.version_info[1])]
39      ,SWIGFLAGS=['-python']      ,SWIGFLAGS=['-python']
40  )  )
41    
42  pyenv.Depends(lib,"fprops_wrap.c")  pyenv.Depends(lib,"fprops_wrap.c")
43    pyenv.Depends(lib,fprops_env['libfprops'])
44    
45  fprops_env['pyfprops'] = lib  fprops_env['pyfprops'] = lib
46    

Legend:
Removed from v.2662  
changed lines
  Added in v.2663

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