1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

don't add pthread if it's already there.

This commit is contained in:
Charles Lowell 2011-10-06 12:18:14 -05:00
parent ff1abe7ca5
commit bd2f6996e9

View file

@ -19,7 +19,8 @@ $CPPFLAGS += " -g" unless $CPPFLAGS.split.include? "-g"
$CPPFLAGS += " -rdynamic" unless $CPPFLAGS.split.include? "-rdynamic"
$DEFLIBPATH.unshift(Libv8.library_path)
$LIBS << ' -lv8 -lpthread'
$LIBS << ' -lv8'
$LIBS << ' -lpthread' unless $LIBS =~ /-lpthread/
CONFIG['LDSHARED'] = '$(CXX) -shared' unless RUBY_PLATFORM =~ /darwin/