/[escript]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 6123 by caltinay, Sun Apr 3 23:36:59 2016 UTC revision 6124 by caltinay, Tue Apr 5 03:23:12 2016 UTC
# Line 478  except KeyError: Line 478  except KeyError:
478    
479  ######################## Add some custom builders ############################  ######################## Add some custom builders ############################
480    
481    # Takes care of prefix and suffix for Python modules:
482    def build_python_module(env, target, source):
483        return env.SharedLibrary(target, source, SHLIBPREFIX='', SHLIBSUFFIX='.so')
484    env.AddMethod(build_python_module, "PythonModule")
485    
486  if env['pythoncmd']=='python':  if env['pythoncmd']=='python':
487      py_builder = Builder(action = build_py, suffix = '.pyc', src_suffix = '.py', single_source=True)      py_builder = Builder(action = build_py, suffix = '.pyc', src_suffix = '.py', single_source=True)
488  else:  else:

Legend:
Removed from v.6123  
changed lines
  Added in v.6124

  ViewVC Help
Powered by ViewVC 1.1.26