summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJohan Bergström <bugs@bergstroem.nu>2015-04-03 10:13:43 +1100
committerJohan Bergström <bugs@bergstroem.nu>2015-04-07 15:02:42 +1000
commitd726a177ed59c37cf5306983ed00ecd858cfbbef (patch)
tree7fbbf9a6e9572e6afb56a907f4a80474aec4d10d /configure
parentd72e50a57cb74deb9dc2c6d9bb29aeeb640b471f (diff)
downloadnode-new-d726a177ed59c37cf5306983ed00ecd858cfbbef.tar.gz
build: Remove building against a shared V8
This action is to encourage packagers to not build against a shared V8 library since even minor bumps of V8 can create issues. PR-URL: https://github.com/iojs/io.js/pull/1331 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure32
1 files changed, 0 insertions, 32 deletions
diff --git a/configure b/configure
index 8a3298d65f..e4148a7b49 100755
--- a/configure
+++ b/configure
@@ -148,26 +148,6 @@ parser.add_option('--shared-openssl-libpath',
dest='shared_openssl_libpath',
help='a directory to search for the shared OpenSSL DLLs')
-parser.add_option('--shared-v8',
- action='store_true',
- dest='shared_v8',
- help='link to a shared V8 DLL instead of static linking')
-
-parser.add_option('--shared-v8-includes',
- action='store',
- dest='shared_v8_includes',
- help='directory containing V8 header files')
-
-parser.add_option('--shared-v8-libname',
- action='store',
- dest='shared_v8_libname',
- help='alternative lib name to link to (default: \'v8\')')
-
-parser.add_option('--shared-v8-libpath',
- action='store',
- dest='shared_v8_libpath',
- help='a directory to search for the shared V8 DLL')
-
parser.add_option('--shared-zlib',
action='store_true',
dest='shared_zlib',
@@ -656,24 +636,12 @@ def configure_libuv(o):
def configure_v8(o):
- o['variables']['node_shared_v8'] = b(options.shared_v8)
o['variables']['v8_enable_gdbjit'] = 1 if options.gdb else 0
o['variables']['v8_no_strict_aliasing'] = 1 # Work around compiler bugs.
o['variables']['v8_optimized_debug'] = 0 # Compile with -O0 in debug builds.
o['variables']['v8_random_seed'] = 0 # Use a random seed for hash tables.
o['variables']['v8_use_snapshot'] = b(options.with_snapshot)
- # assume shared_v8 if one of these is set?
- if options.shared_v8_libpath:
- 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', '-lv8_platform']
- if options.shared_v8_includes:
- o['include_dirs'] += [options.shared_v8_includes]
-
-
def configure_openssl(o):
o['variables']['node_use_openssl'] = b(not options.without_ssl)
o['variables']['node_shared_openssl'] = b(options.shared_openssl)