diff options
author | Steven Knight <knight@baldmt.com> | 2002-11-13 08:49:30 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-11-13 08:49:30 (GMT) |
commit | 3cd1df2a2faa246a150f9a6e5a29368eab106a30 (patch) | |
tree | 6923adde0391471bd033183fa8f34ae38edcb4ed /test/ParseConfig.py | |
parent | c3f2f406542da875245f96d9505b5bedde0a5de0 (diff) | |
download | SCons-3cd1df2a2faa246a150f9a6e5a29368eab106a30.zip SCons-3cd1df2a2faa246a150f9a6e5a29368eab106a30.tar.gz SCons-3cd1df2a2faa246a150f9a6e5a29368eab106a30.tar.bz2 |
Win32 portability.
Diffstat (limited to 'test/ParseConfig.py')
-rw-r--r-- | test/ParseConfig.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ParseConfig.py b/test/ParseConfig.py index 1cf52ed..eaf7802 100644 --- a/test/ParseConfig.py +++ b/test/ParseConfig.py @@ -39,8 +39,8 @@ print "-L/usr/fax -Lfoo -lxxx abc" """) test.write('SConstruct', """ -env = Environment() -static_libs = ParseConfig(env, ["%s", "%s", "--libs --cflags"]) +env = Environment(CPPPATH = [], LIBPATH = [], LIBS = [], CCFLAGS = '') +static_libs = ParseConfig(env, [r"%s", r"%s", "--libs --cflags"]) print env['CPPPATH'] print env['LIBPATH'] print env['LIBS'] @@ -49,8 +49,8 @@ print static_libs """ % (sys.executable, test_config)) test.write('SConstruct2', """ -env = Environment() -static_libs = ParseConfig(env, "%s %s --libs --cflags") +env = Environment(CPPPATH = [], LIBPATH = [], LIBS = [], CCFLAGS = '') +static_libs = ParseConfig(env, r"%s %s --libs --cflags") print env['CPPPATH'] print env['LIBPATH'] print env['LIBS'] |