SENFSCons.InstallIncludeFiles(env, [ 'config.hh' ])
# Build combined library 'libsenf'
-libsenf = env.Library(env['LIBSENF'], env['ALLOBJECTS'])
+libsenf = env.Library(env.subst("$LIBSENF$LIBADDSUFFIX"), env['ALLOBJECTS'])
env.Default(libsenf)
env.Clean('all', libsenf)
env.Alias('default', libsenf)
target = 'test',
objects = [],
test_sources = sources,
- LIBS = [ '$LIBSENF' ],
+ LIBS = [ '$LIBSENF$LIBADDSUFFIX' ],
OBJECTS = OBJECTS,
DEPENDS = [ env.File(LibPath(env['LIBSENF'])) ]) ]
compileTestSources = [ src for src in sources
target = 'test',
objects = objects,
test_sources = testSources,
- LIBS = [ '$LIBSENF' ],
+ LIBS = [ '$LIBSENF$LIBADDSUFFIX' ],
OBJECTS = OBJECTS,
DEPENDS = [ env.File(LibPath(env['LIBSENF'])) ]) ]
compileTestSources = [ src for src in testSources
program = None
if objects:
progEnv = env.Clone()
- progEnv.Prepend(LIBS = [ '$LIBSENF' ])
+ progEnv.Prepend(LIBS = [ '$LIBSENF$LIBADDSUFFIX' ])
program = progEnv.ProgramNoScan(target=binary,source=objects+OBJECTS)
env.Default(program)
env.Depends(program, [ env.File(LibPath(env['LIBSENF'])) ])