From: Roman Lygin Date: Mon, 18 Mar 2013 17:12:20 +0000 (+0400) Subject: 0023451: On Linux OCC links to release mode TBB leading to unspecified behavior X-Git-Tag: V6_7_1~57 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=14ffa46809290fe1518dc193c4ca5d5c3c4229fe;p=occt-wok.git 0023451: On Linux OCC links to release mode TBB leading to unspecified behavior --- diff --git a/src/WOKTclLib/templates/template.ac b/src/WOKTclLib/templates/template.ac index a0fea72..c9f0fc0 100644 --- a/src/WOKTclLib/templates/template.ac +++ b/src/WOKTclLib/templates/template.ac @@ -768,7 +768,11 @@ else HAVE_TBB=no fi if test "x$tbb_lib" != "x"; then - CSF_TBB_LIB="-L$tbb_lib -ltbb -ltbbmalloc" + if test "x$enable_debug" = "xyes"; then + CSF_TBB_LIB="-L$tbb_lib -ltbb_debug -ltbbmalloc_debug" + else + CSF_TBB_LIB="-L$tbb_lib -ltbb -ltbbmalloc" + fi else HAVE_TBB=no fi