summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-04-02 23:51:01 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2015-04-04 00:21:39 +0200
commit4a801c211c8fec4df97748a740f98fa09f11b3d9 (patch)
tree5b527f20d92e0a1c09c29a219845902e06b836a6 /configure
parent87053e8aee527ec2eb6ac4db2a476e20e1c5f23b (diff)
downloadandroid-node-v8-4a801c211c8fec4df97748a740f98fa09f11b3d9.tar.gz
android-node-v8-4a801c211c8fec4df97748a740f98fa09f11b3d9.tar.bz2
android-node-v8-4a801c211c8fec4df97748a740f98fa09f11b3d9.zip
src: drop homegrown thread pool, use libplatform
Drop the homegrown thread pool that was introduced in commit 50839a0 ("v8_platform: provide default v8::Platform impl") and use one from V8's libplatform library. Performance is comparable and it removes a few hundred lines of code. The calls to v8::platform::PumpMessageLoop() are currently no-ops because V8 does not (yet?) use v8::Platform::CallOnForegroundThread(). Packagers that link against a shared libv8 now also need to make libv8_platform available. PR-URL: https://github.com/iojs/io.js/pull/1329 Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 2c44090c3c..6ee9b99a41 100755
--- a/configure
+++ b/configure
@@ -664,7 +664,7 @@ def configure_v8(o):
if options.shared_v8_libname:
o['libraries'] += ['-l%s' % options.shared_v8_libname]
elif options.shared_v8:
- o['libraries'] += ['-lv8']
+ o['libraries'] += ['-lv8', '-lv8_platform']
if options.shared_v8_includes:
o['include_dirs'] += [options.shared_v8_includes]