Merge pull request #43 from ctgreybeard/dev
xs/Build.pl fails to find boost libraries
This commit is contained in:
commit
5614e997a4
1 changed files with 1 additions and 2 deletions
|
@ -142,8 +142,7 @@ if ($have_boost) {
|
||||||
# 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";
|
||||||
next if !@files;
|
next if !@files;
|
||||||
|
if ($files[0] =~ /\Q${lib_prefix}system\E([^.]*)\Q$lib_ext\E$/) {
|
||||||
if ($files[0] =~ /${lib_prefix}system([^.]*)$lib_ext$/) {
|
|
||||||
# Suffix contains the version number, the build type etc.
|
# Suffix contains the version number, the build type etc.
|
||||||
my $suffix = $1;
|
my $suffix = $1;
|
||||||
# Verify existence of all required boost libraries at $path.
|
# Verify existence of all required boost libraries at $path.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue