diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2015-11-19 19:02:01 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2015-11-19 19:02:01 +0300 |
commit | 39924ee89c77a646b59b8c893b9c9cba7deb8089 (patch) | |
tree | 5f092775eec7deeb4fd3010e9410027082f97cf8 /xs/Build.PL | |
parent | c63a5f26cadb69d36810bec8e6cde6fe89d8dcac (diff) |
More small fixes for compilation on Linux
Diffstat (limited to 'xs/Build.PL')
-rw-r--r-- | xs/Build.PL | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xs/Build.PL b/xs/Build.PL index 44066c28d..08bb259d1 100644 --- a/xs/Build.PL +++ b/xs/Build.PL @@ -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; |