From c179d3c862bfda02e687f4a71549a29f62bd5719 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 30 Jun 2017 19:08:41 +0300 Subject: Skip link=shared, runtime_link=static instead of aborting the build --- Jamroot | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Jamroot b/Jamroot index d521e5eb5a..e81456cc1b 100644 --- a/Jamroot +++ b/Jamroot @@ -201,10 +201,15 @@ rule handle-static-runtime ( properties * ) if shared in $(properties) && static in $(properties) && ! ( cw in $(properties) ) { - ECHO "error: link=shared together with runtime-link=static is not allowed" ; - ECHO "error: such property combination is either impossible " ; - ECHO "error: or too dangerious to be of any use" ; - EXIT ; + if ! $(.shared-static-warning-emitted) + { + ECHO "warning: skipping configuration link=shared, runtime-link=static" ; + ECHO "warning: this combination is either impossible or too dangerous" ; + ECHO "warning: to be of any use" ; + .shared-static-warning-emitted = 1 ; + } + + return no ; } } -- cgit v1.2.1