Fix of intel TBB linking.

This commit is contained in:
bubnikv 2017-03-07 14:31:08 +01:00
parent 32ebb1e2c7
commit a4dea4b7fc

View File

@ -271,7 +271,7 @@ if ($have_tbb) {
} }
push @INC, (map " -I$_", @tbb_include); # TODO: only use the one related to the chosen lib path 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) { 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 { } else {
push @LIBS, " -L$path", (map " -l$_$suffix", @tbb_libraries); push @LIBS, " -L$path", (map " -l$_$suffix", @tbb_libraries);
} }