From 893fc2343f0aa3855078f20561d2f7a977610791 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 22 Nov 2016 22:29:20 +0100 Subject: [PATCH] Fixed regression in Build.PL after recent merged changes --- xs/Build.PL | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xs/Build.PL b/xs/Build.PL index abcf24868..fc82615cd 100644 --- a/xs/Build.PL +++ b/xs/Build.PL @@ -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";