@@ -83,26 +83,6 @@ parser.add_option('--openssl-use-sys',
83
83
dest = 'shared_openssl' ,
84
84
help = optparse .SUPPRESS_HELP )
85
85
86
- parser .add_option ('--shared-cares' ,
87
- action = 'store_true' ,
88
- dest = 'shared_cares' ,
89
- help = 'link to a shared cares DLL instead of static linking' )
90
-
91
- parser .add_option ('--shared-cares-includes' ,
92
- action = 'store' ,
93
- dest = 'shared_cares_includes' ,
94
- help = 'directory containing cares header files' )
95
-
96
- parser .add_option ('--shared-cares-libname' ,
97
- action = 'store' ,
98
- dest = 'shared_cares_libname' ,
99
- help = 'alternative lib name to link to (default: \' cares\' )' )
100
-
101
- parser .add_option ('--shared-cares-libpath' ,
102
- action = 'store' ,
103
- dest = 'shared_cares_libpath' ,
104
- help = 'a directory to search for the shared cares DLL' )
105
-
106
86
parser .add_option ('--shared-http-parser' ,
107
87
action = 'store_true' ,
108
88
dest = 'shared_http_parser' ,
@@ -586,20 +566,6 @@ def configure_http_parser(o):
586
566
o ['include_dirs' ] += [options .shared_http_parser_includes ]
587
567
588
568
589
- def configure_cares (o ):
590
- o ['variables' ]['node_shared_cares' ] = b (options .shared_cares )
591
-
592
- # assume shared cares if one of these is set?
593
- if options .shared_cares_libpath :
594
- o ['libraries' ] += ['-L%s' % options .shared_cares_libpath ]
595
- if options .shared_cares_libname :
596
- o ['libraries' ] += ['-l%s' % options .shared_cares_libname ]
597
- elif options .shared_cares :
598
- o ['libraries' ] += ['-lcares' ]
599
- if options .shared_cares_includes :
600
- o ['include_dirs' ] += [options .shared_cares_includes ]
601
-
602
-
603
569
def configure_libuv (o ):
604
570
o ['variables' ]['node_shared_libuv' ] = b (options .shared_libuv )
605
571
@@ -863,7 +829,6 @@ output = {
863
829
configure_node (output )
864
830
configure_libz (output )
865
831
configure_http_parser (output )
866
- configure_cares (output )
867
832
configure_libuv (output )
868
833
configure_v8 (output )
869
834
configure_openssl (output )
0 commit comments