diff options
Diffstat (limited to '')
-rwxr-xr-x | boost/build/ci/travis.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/boost/build/ci/travis.py b/boost/build/ci/travis.py index d5d00eb..74ba29f 100755 --- a/boost/build/ci/travis.py +++ b/boost/build/ci/travis.py @@ -54,6 +54,8 @@ def _parse_args(argv=None): logging.info('Command line arguments: %s', argv) parser = argparse.ArgumentParser() + parser.add_argument('--link', metavar='LINKAGE', nargs='*', + help='how the libraries are linked (i.e. static/shared)') parser.add_argument('b2_args', nargs='*', metavar='B2_ARG', default=[], help='additional b2 arguments, to be passed verbatim') return parser.parse_args(argv) @@ -80,6 +82,11 @@ def build_travis(argv=None): 'build', '--configuration', _get_configuration(), '--platform', _get_platform(), + ] + if args.link is not None: + travis_argv.append('--link') + travis_argv += args.link + travis_argv += [ '--', version.dir_path(_get_build_dir()), ] build_main(travis_argv + args.b2_args) |