diff --git a/Jamfile b/Jamfile index e0d2834bb..51650c267 100755 --- a/Jamfile +++ b/Jamfile @@ -66,8 +66,9 @@ rule linking ( properties * ) # dbghelp doesn't appear to exist in mingw if windows in $(properties) && ! gcc in $(properties) - && ( on in $(properties) - || debug in $(properties) + && ( debug in $(properties) + || on in $(properties) + || production in $(properties) || on in $(properties) ) { result += dbghelp ; @@ -139,9 +140,10 @@ rule linking ( properties * ) if gcc in $(properties) && linux in $(properties) - && (debug in $(properties) + && ( debug in $(properties) || on in $(properties) - || production in $(properties)) + || production in $(properties) + || on in $(properties) ) { # for backtraces in assertion failures # which only works on ELF targets with gcc