Added library references to linking of the shared V8 library.
On Linux the shared V8 library is now linked with libraries pthread and rt which means that applications using the shared V8 library will not need to link with libraries required by V8 but not by the application using V8.
BUG=290
Review URL: http://codereview.chromium.org/56056
git-svn-id: http://v8.googlecode.com/svn/trunk@1636 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/SConstruct b/SConstruct
index da140c7..8b1ff6d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -103,6 +103,9 @@
},
'os:linux': {
'CCFLAGS': ['-ansi'],
+ 'library:shared': {
+ 'LIBS': ['pthread', 'rt']
+ }
},
'os:macos': {
'CCFLAGS': ['-ansi'],