File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -658,7 +658,7 @@ def configure_node(o):
658
658
def configure_libz (o ):
659
659
o ['variables' ]['node_shared_zlib' ] = b (options .shared_zlib )
660
660
661
- if b ( options .shared_zlib ) == True :
661
+ if options .shared_zlib :
662
662
o ['libraries' ] += ['-l%s' % options .shared_zlib_libname ]
663
663
if options .shared_zlib_libpath :
664
664
o ['libraries' ] += ['-L%s' % options .shared_zlib_libpath ]
@@ -668,8 +668,8 @@ def configure_libz(o):
668
668
669
669
def configure_http_parser (o ):
670
670
o ['variables' ]['node_shared_http_parser' ] = b (options .shared_http_parser )
671
-
672
- if b ( options .shared_http_parser ) == True :
671
+
672
+ if options .shared_http_parser :
673
673
o ['libraries' ] += ['-l%s' % options .shared_http_parser_libname ]
674
674
if options .shared_http_parser_libpath :
675
675
o ['libraries' ] += ['-L%s' % options .shared_http_parser_libpath ]
@@ -680,7 +680,7 @@ def configure_http_parser(o):
680
680
def configure_libuv (o ):
681
681
o ['variables' ]['node_shared_libuv' ] = b (options .shared_libuv )
682
682
683
- if b ( options .shared_libuv ) == True :
683
+ if options .shared_libuv :
684
684
o ['libraries' ] += ['-l%s' % options .shared_libuv_libname ]
685
685
if options .shared_libuv_libpath :
686
686
o ['libraries' ] += ['-L%s' % options .shared_libuv_libpath ]
You can’t perform that action at this time.
0 commit comments