[cig-commits] commit: Accounting for differences in SCons versions.

Mercurial hg at geodynamics.org
Mon Nov 24 11:31:01 PST 2008


changeset:   99:fa9f2113abd6
user:        LukeHodkinson
date:        Thu Jun 12 00:40:37 2008 +0000
files:       SConscript
description:
Accounting for differences in SCons versions.


diff -r c1c7ac95a05a -r fa9f2113abd6 SConscript
--- a/SConscript	Wed Jun 11 05:47:34 2008 +0000
+++ b/SConscript	Thu Jun 12 00:40:37 2008 +0000
@@ -35,7 +35,7 @@ if env['shared_libraries']:
                             'PICellerator/libPICellerator/Toolbox')
     env.SharedLibrary(env.get_target_name('lib/PICellerator_Toolboxmodule'), objs,
                       SHLIBPREFIX='',
-                      LIBPREFIXES=[env['LIBPREFIXES']] + [''],
+                      LIBPREFIXES=env.make_list(env['LIBPREFIXES']) + [''],
                       LIBS=['PICellerator'] + env.get('LIBS', []))
 
 # Build plugins.
@@ -47,7 +47,7 @@ if env['shared_libraries']:
         name = 'PICellerator_' + base.split('/')[-1] + 'module'
         env.SharedLibrary(env.get_build_path('lib/' + name), objs,
                           SHLIBPREFIX='',
-                          LIBPREFIXES=[env['LIBPREFIXES']] + [''],
+                          LIBPREFIXES=env.make_list(env['LIBPREFIXES']) + [''],
                           LIBS=['PICellerator'] + env.get('LIBS', []))
 
 # Build unit test runner.



More information about the CIG-COMMITS mailing list