Skip to content

Commit

Permalink
build: (fixes 2830) Avoid overwriting conf.env variable for boost
Browse files Browse the repository at this point in the history
  • Loading branch information
nightlark committed Nov 30, 2017
1 parent 4235321 commit 24691ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def options(opt):
opt.recurse(module, mandatory=False)

def configure(conf):
conf.env['REQUIRED_BOOST_LIBS'] = []
if not conf.env['REQUIRED_BOOST_LIBS']:
conf.env['REQUIRED_BOOST_LIBS'] = []
for module in all_modules:
conf.recurse (module, name="required_boost_libs", mandatory=False)

Expand Down

0 comments on commit 24691ee

Please sign in to comment.