mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
Revert "don't add pthread if it's already there."
Apparently -lpthread needs to appear *after* -lv8. Who knew?
This reverts commit bd2f6996e9
.
This commit is contained in:
parent
d12a9e8cd2
commit
d2bfb0e228
1 changed files with 1 additions and 2 deletions
|
@ -19,8 +19,7 @@ $CPPFLAGS += " -g" unless $CPPFLAGS.split.include? "-g"
|
|||
$CPPFLAGS += " -rdynamic" unless $CPPFLAGS.split.include? "-rdynamic"
|
||||
|
||||
$DEFLIBPATH.unshift(Libv8.library_path)
|
||||
$LIBS << ' -lv8'
|
||||
$LIBS << ' -lpthread' unless $LIBS =~ /-lpthread/
|
||||
$LIBS << ' -lv8 -lpthread'
|
||||
|
||||
CONFIG['LDSHARED'] = '$(CXX) -shared' unless RUBY_PLATFORM =~ /darwin/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue