From dcb579df98295163fe903f7e80282136c7bcbc1c Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 24 Jun 2013 15:22:48 +0000 Subject: [PATCH] [SCons] Only copy Boost libraries when they are being used --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 849b4bd13..018a67fd0 100644 --- a/SConstruct +++ b/SConstruct @@ -1246,7 +1246,7 @@ if addInstallActions: 'interfaces/python/ctml_writer.py') # Copy external libaries for Windows installations - if env['CC'] == 'cl': + if env['CC'] == 'cl' and env['use_boost_libs']: boost_suffix = '-vc%s-mt-%s.lib' % (env['MSVC_VERSION'].replace('.',''), env['BOOST_LIB_VERSION']) install('$inst_libdir', pjoin('$boost_lib_dir', 'libboost_date_time' + boost_suffix))