mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 06:45:56 +08:00
Fixed regression in Build.PL after recent merged changes
This commit is contained in:
parent
dcdb5056fe
commit
893fc2343f
@ -3,6 +3,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use Config;
|
||||
use Devel::CheckLib;
|
||||
use ExtUtils::CppGuess;
|
||||
use Module::Build::WithXSpp;
|
||||
@ -101,7 +102,7 @@ if (!$ENV{SLIC3R_STATIC} && $have_boost) {
|
||||
} else {
|
||||
# Either static linking, or check_lib could not be used to find the boost libraries.
|
||||
my $lib_prefix = 'libboost_';
|
||||
my $lib_ext = ${$cpp_guess}{config}{lib_ext};
|
||||
my $lib_ext = $Config{lib_ext};
|
||||
PATH: foreach my $path (@boost_libs) {
|
||||
# Try to find the boost system library.
|
||||
my @files = glob "$path/${lib_prefix}system*$lib_ext";
|
||||
|
Loading…
x
Reference in New Issue
Block a user