Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'kalabiyau/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboyd committed Oct 6, 2011
2 parents 1f71726 + 1964f87 commit ff1abe7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ext/v8/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
require 'libv8'
end

have_library('pthread')
have_library('objc') if RUBY_PLATFORM =~ /darwin/

#we have to manually prepend the libv8 include path to INCFLAGS
Expand All @@ -20,7 +19,7 @@
$CPPFLAGS += " -rdynamic" unless $CPPFLAGS.split.include? "-rdynamic"

$DEFLIBPATH.unshift(Libv8.library_path)
$LIBS << ' -lv8'
$LIBS << ' -lv8 -lpthread'

CONFIG['LDSHARED'] = '$(CXX) -shared' unless RUBY_PLATFORM =~ /darwin/

Expand Down

0 comments on commit ff1abe7

Please sign in to comment.