mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 18:55:59 +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 strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
|
use Config;
|
||||||
use Devel::CheckLib;
|
use Devel::CheckLib;
|
||||||
use ExtUtils::CppGuess;
|
use ExtUtils::CppGuess;
|
||||||
use Module::Build::WithXSpp;
|
use Module::Build::WithXSpp;
|
||||||
@ -101,7 +102,7 @@ if (!$ENV{SLIC3R_STATIC} && $have_boost) {
|
|||||||
} else {
|
} else {
|
||||||
# Either static linking, or check_lib could not be used to find the boost libraries.
|
# Either static linking, or check_lib could not be used to find the boost libraries.
|
||||||
my $lib_prefix = 'libboost_';
|
my $lib_prefix = 'libboost_';
|
||||||
my $lib_ext = ${$cpp_guess}{config}{lib_ext};
|
my $lib_ext = $Config{lib_ext};
|
||||||
PATH: foreach my $path (@boost_libs) {
|
PATH: foreach my $path (@boost_libs) {
|
||||||
# Try to find the boost system library.
|
# Try to find the boost system library.
|
||||||
my @files = glob "$path/${lib_prefix}system*$lib_ext";
|
my @files = glob "$path/${lib_prefix}system*$lib_ext";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user