Add -lpthread to libraries in SDL::Build::Openbsd
James Wright [Tue, 25 Aug 2009 04:30:36 +0000 (21:30 -0700)]
make/lib/SDL/Build/Openbsd.pm

index 078c0ee..be17d1e 100644 (file)
@@ -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;