More small fixes for compilation on Linux

This commit is contained in:
Alessandro Ranellucci 2015-11-19 17:02:01 +01:00
parent c63a5f26ca
commit 39924ee89c
2 changed files with 6 additions and 4 deletions

View file

@ -52,7 +52,9 @@ $have_boost = 1
LIBS => join(' ', map "-L$_", @INC, @boost_libs),
);
if (!$have_boost) {
if ($have_boost) {
push @LIBS, '-lboost_system', '-lboost_thread';
} else {
foreach my $path (@boost_libs) {
my @files = glob "$path/libboost_system*";
next if !@files;