Permalink
Browse files

Always link the Ruby extension to -lpthread because we use pthread fu…

…nctions.
  • Loading branch information...
1 parent fb1b24e commit f490133a730ecf967eff6f1f3ed3c309488bd9d6 @FooBarWidget FooBarWidget committed Feb 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 ext/ruby/extconf.rb
View
@@ -1,5 +1,5 @@
# Phusion Passenger - https://www.phusionpassenger.com/
-# Copyright (c) 2010-2012 Phusion
+# Copyright (c) 2010-2013 Phusion
#
# "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.
#
@@ -23,7 +23,7 @@
require 'mkmf'
$LIBS = ""
$CFLAGS << " -g"
-$LIBS << " -lpthread" if RUBY_PLATFORM =~ /openbsd/
+$LIBS << " -lpthread"
if RUBY_PLATFORM =~ /solaris/
have_library('xnet')

0 comments on commit f490133

Please sign in to comment.