mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Yet another fix of a static TBB linkage.
This commit is contained in:
		
							parent
							
								
									a4dea4b7fc
								
							
						
					
					
						commit
						32b0428303
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -271,7 +271,8 @@ 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${lib_ext}", @tbb_libraries; | ||||
|                 my $lib_prefix = $cpp_guess->is_msvc ? '' : 'lib'; | ||||
|                 push @LIBS, map "${path}/${lib_prefix}${_}_static${lib_ext}", @tbb_libraries; | ||||
|             } else { | ||||
|                 push @LIBS, " -L$path", (map " -l$_$suffix", @tbb_libraries); | ||||
|             } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv