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:
parent
ff1abe7ca5
commit
bd2f6996e9
1 changed files with 2 additions and 1 deletions
|
@ -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/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue