/[escript]/branches/ROBW_XPLATFORM/scons/scons_extensions.py
ViewVC logotype

Diff of /branches/ROBW_XPLATFORM/scons/scons_extensions.py

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

revision 666 by robwdcock, Fri Mar 24 11:29:40 2006 UTC revision 667 by robwdcock, Fri Mar 24 13:25:00 2006 UTC
# Line 75  def build_doxygen(target, source, env): Line 75  def build_doxygen(target, source, env):
75      else:      else:
76      return 1      return 1
77      return None      return None
   
 def sharedLinkHack(env, lib_names, libinstall, sources):  
    if env['PLATFORM'] == 'posix':  
       for name in lib_names:  
          shared_lib = env.File(libinstall+'/'+name+env['SHLIBSUFFIX'])  
          shared_lib.attributes.shared = True  
          sources.append(shared_lib)  
    else:  
       env.Append(LIBS = [lib_names])  
   
 from SCons.Script.SConscript import SConsEnvironment  
 SConsEnvironment.sharedLinkHack = sharedLinkHack  
   

Legend:
Removed from v.666  
changed lines
  Added in v.667

  ViewVC Help
Powered by ViewVC 1.1.26