mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Add path to expat on Windows to benefit from faster AMF parsing
This commit is contained in:
		
							parent
							
								
									d0cbf56354
								
							
						
					
					
						commit
						c8fb1ceac8
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		
							
								
								
									
										6
									
								
								Build.PL
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								Build.PL
									
										
									
									
									
								
							|  | @ -100,7 +100,11 @@ EOF | |||
|     my %modules = (%prereqs, %recommends); | ||||
|     foreach my $module (sort keys %modules) { | ||||
|         my $version = $modules{$module}; | ||||
|         my $res = system $cpanm, "$module~$version"; | ||||
|         my @cmd = ($cpanm, "$module~$version"); | ||||
|         if ($module eq 'XML::SAX::ExpatXS' && $^O eq 'MSWin32') { | ||||
|             push @cmd, '--configure-args="EXPATLIBPATH=C:\dev\CitrusPerl\mingw64\lib EXPATINCPATH=C:\dev\CitrusPerl\mingw64\include"'; | ||||
|         } | ||||
|         my $res = system @cmd; | ||||
|         if ($res != 0) { | ||||
|             if (exists $prereqs{$module}) { | ||||
|                 push @missing_prereqs, $module; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci