--- trunk/solvers/cmslv/SConscript 2007/08/17 02:28:49 1596 +++ trunk/solvers/cmslv/SConscript 2007/08/17 05:26:05 1597 @@ -5,17 +5,19 @@ if solver_env.get('WITH_CONOPT'): solver_env.AppendUnique(CPPPATH=[solver_env.get('CONOPT_CPPPATH')]) -libcmslv = [solver_env.SharedLibrary("cmslv",["slv9.c"] +lib = solver_env.SharedLibrary("cmslv",["slv9.c"] ,LIBS = ['ascend'] ,LIBPATH = ['#'] -)] + ,SHLIBSUFFIX = env['EXTLIB_SUFFIX'] + ,SHLIBPREFIX = env['EXTLIB_PREFIX'] +) -env.Depends(libcmslv,env['libascend']) +env.Depends(lib,env['libascend']) -env['extfns'] += libcmslv +env['extfns'] += [lib] if env.get('CAN_INSTALL'): - env.InstallShared(Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")),libcmslv) + env.InstallShared(Dir(env.subst("$INSTALL_ROOT$INSTALL_SOLVERS")),lib) # vim: set syntax=python: