aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/tbb/CONTROL2
-rw-r--r--ports/tbb/portfile.cmake8
2 files changed, 5 insertions, 5 deletions
diff --git a/ports/tbb/CONTROL b/ports/tbb/CONTROL
index 048f711e0..4c47458bc 100644
--- a/ports/tbb/CONTROL
+++ b/ports/tbb/CONTROL
@@ -1,3 +1,3 @@
Source: tbb
-Version: 2019_U5
+Version: 2019_U5-1
Description: Intel's Threading Building Blocks.
diff --git a/ports/tbb/portfile.cmake b/ports/tbb/portfile.cmake
index a0895442d..b99fdb017 100644
--- a/ports/tbb/portfile.cmake
+++ b/ports/tbb/portfile.cmake
@@ -81,14 +81,14 @@ string(REPLACE
"${_contents}"
)
string(REPLACE
- "set(_tbb_release_lib \"/\${_tbb_component}.lib\")"
- "set(_tbb_release_lib \"\${_tbb_root}/lib/\${_tbb_component}.lib\")"
+ "set(_tbb_release_lib \"/${TBB_LIB_PREFIX}\${_tbb_component}.${TBB_LIB_EXT}\")"
+ "set(_tbb_release_lib \"\${_tbb_root}/lib/${TBB_LIB_PREFIX}\${_tbb_component}.${TBB_LIB_EXT}\")"
_contents
"${_contents}"
)
string(REPLACE
- "set(_tbb_debug_lib \"/\${_tbb_component}_debug.lib\")"
- "set(_tbb_debug_lib \"\${_tbb_root}/debug/lib/\${_tbb_component}_debug.lib\")"
+ "set(_tbb_debug_lib \"/${TBB_LIB_PREFIX}\${_tbb_component}_debug.${TBB_LIB_EXT}\")"
+ "set(_tbb_debug_lib \"\${_tbb_root}/debug/lib/${TBB_LIB_PREFIX}\${_tbb_component}_debug.${TBB_LIB_EXT}\")"
_contents
"${_contents}"
)