Added more search paths for Boost on Win32

This commit is contained in:
Alessandro Ranellucci 2015-11-05 11:02:12 +01:00
parent c34430c6c4
commit 2e9a0f5590

View File

@ -29,6 +29,13 @@ if (defined $ENV{BOOST_DIR}) {
push @LIBS, map "-L$_", grep { -d $_ }
qw(/opt/local/lib /usr/local/lib /opt/lib /usr/lib),
qw(C:/Boost/lib /lib);
if ($^O eq 'MSWin32') {
for my $path (glob 'C:/dev/boost* C:/boost*') {
push @INC "-I" . $path;
push @INC "-L" . $path . "/stage/lib";
}
}
}
push @INC, '-Iinclude';