summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-02-23 14:52:18 -0800
committerisaacs <i@izs.me>2012-02-23 14:52:18 -0800
commit59ecf2ccf743489a2885cf824460070e6fc12d6a (patch)
treec7c275360e6de2862494532aae22688aa70eeac2 /configure
parentf492baa61dd1fa2955fc3821b34fb5c998c81503 (diff)
downloadnode-new-59ecf2ccf743489a2885cf824460070e6fc12d6a.tar.gz
Revert "Revert "build: support shared V8 properly""
This reverts commit a9130222bd36ac2c5dd7ae560f02bb99569749a7.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 5a3dc8d276..7734a170ff 100755
--- a/configure
+++ b/configure
@@ -209,8 +209,11 @@ def configure_v8(o):
o['libraries'] += ['-L%s' % options.shared_v8_libpath]
if options.shared_v8_libname:
o['libraries'] += ['-l%s' % options.shared_v8_libname]
+ elif options.shared_v8:
+ o['libraries'] += ['-lv8']
if options.shared_v8_includes:
o['include_dirs'] += [options.shared_v8_includes]
+ o['variables']['node_shared_v8_includes'] = options.shared_v8_includes
def configure_cares(o):