From a4dea4b7fc1b7638fed4f8b70392f2f1c01ba809 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Tue, 7 Mar 2017 14:31:08 +0100 Subject: Fix of intel TBB linking. --- xs/Build.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xs') diff --git a/xs/Build.PL b/xs/Build.PL index b77417ee7..5d44ba887 100644 --- a/xs/Build.PL +++ b/xs/Build.PL @@ -271,7 +271,7 @@ if ($have_tbb) { } push @INC, (map " -I$_", @tbb_include); # TODO: only use the one related to the chosen lib path if ($ENV{SLIC3R_STATIC} || $cpp_guess->is_msvc) { - push @LIBS, map "${path}/${_}_static${suffix}", @tbb_libraries; + push @LIBS, map "${path}/${_}_static${lib_ext}", @tbb_libraries; } else { push @LIBS, " -L$path", (map " -l$_$suffix", @tbb_libraries); } -- cgit v1.2.3