From 53c5bb6a4e5448df0aa42ab63fa39140ae2e4efe Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 14 Dec 2011 19:35:11 +0000 Subject: [PATCH] Fixed handling of user-specified Sundials paths --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index d8ac6fc12..bbb80d494 100644 --- a/SConstruct +++ b/SConstruct @@ -550,9 +550,9 @@ else: ens['blas_lapack_libs'] = ','.split(env['blas_lapack_libs']) if env['use_sundials'] == 'y' and env['sundials_include']: - env.Append(CPPPATH=env['sundials_include']) + env.Append(CPPPATH=[env['sundials_include']]) if env['use_sundials'] == 'y' and env['sundials_libdir']: - env.Append(LIBPATH=env['sundials_libdir']) + env.Append(LIBPATH=[env['sundials_libdir']]) env['ct_libdir'] = pjoin(env['prefix'], 'lib') env['ct_bindir'] = pjoin(env['prefix'], 'bin')