1
0
Fork 0
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:
Charles Lowell 2011-10-06 14:47:44 -05:00
parent d12a9e8cd2
commit d2bfb0e228

View file

@ -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/