From: James Wright Date: Tue, 25 Aug 2009 04:30:36 +0000 (-0700) Subject: Add -lpthread to libraries in SDL::Build::Openbsd X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=035c247ee222c5b723ad17a4bf7c4ea64005990a;p=sdlgit%2FSDL_perl.git Add -lpthread to libraries in SDL::Build::Openbsd --- diff --git a/make/lib/SDL/Build/Openbsd.pm b/make/lib/SDL/Build/Openbsd.pm index 078c0ee..be17d1e 100644 --- a/make/lib/SDL/Build/Openbsd.pm +++ b/make/lib/SDL/Build/Openbsd.pm @@ -18,4 +18,15 @@ sub fetch_includes ); } +sub build_links +{ + + my $self = shift; + my $links = $self->SUPER::build_links(@_); + push @{ $links->{SDL}->{libs} }, '-lpthread'; + + return $links; +} + + 1;