From 50fe691604e767162f333c76b83023e66dd9205c Mon Sep 17 00:00:00 2001 From: Bill Waggoner Date: Mon, 28 Nov 2016 14:28:50 -0500 Subject: [PATCH] Squashed commit of the following: commit 7fc66514bf3fbcc2c2709a4eb94856fa9b3ba523 Author: Bill Waggoner Date: Mon Nov 28 14:09:09 2016 -0500 Build.pl fails to find boost libraries commit 3fa66c4970eb2235aa57041a5a318ddcb1910219 Author: Bill Waggoner Date: Mon Nov 28 14:00:07 2016 -0500 Build.pl fails to find boost correctly Signed-off-by: Bill Waggoner --- xs/Build.PL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xs/Build.PL b/xs/Build.PL index e014ddbcf..0a700c37a 100644 --- a/xs/Build.PL +++ b/xs/Build.PL @@ -138,8 +138,8 @@ if (!$ENV{SLIC3R_STATIC} && $have_boost) { # Try to find the boost system library. my @files = glob "$path/${lib_prefix}system*$lib_ext"; next if !@files; - - if ($files[0] =~ /${lib_prefix}system([^.]+)$lib_ext$/) { + + if ($files[0] =~ /\Q${lib_prefix}system\E([^.]*)\Q$lib_ext\E$/) { # Suffix contains the version number, the build type etc. my $suffix = $1; # Verify existence of all required boost libraries at $path.