dest='shared_openssl',
help=optparse.SUPPRESS_HELP)
-parser.add_option('--shared-cares',
- action='store_true',
- dest='shared_cares',
- help='link to a shared cares DLL instead of static linking')
-
-parser.add_option('--shared-cares-includes',
- action='store',
- dest='shared_cares_includes',
- help='directory containing cares header files')
-
-parser.add_option('--shared-cares-libname',
- action='store',
- dest='shared_cares_libname',
- help='alternative lib name to link to (default: \'cares\')')
-
-parser.add_option('--shared-cares-libpath',
- action='store',
- dest='shared_cares_libpath',
- help='a directory to search for the shared cares DLL')
-
parser.add_option('--shared-http-parser',
action='store_true',
dest='shared_http_parser',
o['include_dirs'] += [options.shared_http_parser_includes]
-def configure_cares(o):
- o['variables']['node_shared_cares'] = b(options.shared_cares)
-
- # assume shared cares if one of these is set?
- if options.shared_cares_libpath:
- o['libraries'] += ['-L%s' % options.shared_cares_libpath]
- if options.shared_cares_libname:
- o['libraries'] += ['-l%s' % options.shared_cares_libname]
- elif options.shared_cares:
- o['libraries'] += ['-lcares']
- if options.shared_cares_includes:
- o['include_dirs'] += [options.shared_cares_includes]
-
-
def configure_libuv(o):
o['variables']['node_shared_libuv'] = b(options.shared_libuv)
configure_node(output)
configure_libz(output)
configure_http_parser(output)
-configure_cares(output)
configure_libuv(output)
configure_v8(output)
configure_openssl(output)