Logo Search packages:      
Sourcecode: abakus version File versions  Download package

gnulink.py

import SCons.Util
import link
linkers=['g++', 'gcc']
def generate(env):
    link.generate(env)
    if env['PLATFORM']=='darwin':
        env['SHLINKFLAGS']=SCons.Util.CLVar('$LINKFLAGS -dynamiclib')
    env.Append(LINKFLAGS=['$__RPATH'])
    env['RPATHPREFIX']='-Wl,--rpath='
    env['RPATHSUFFIX']=''
    env['_RPATH']='${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'
def exists(env):
    return env.Detect(linkers)

Generated by  Doxygen 1.6.0   Back to index