Skip to content

Commit 8f93b01

Browse files
committed
setup.py: Fix use-system-libuv for setup.py test
1 parent 9bc6076 commit 8f93b01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ class libuv_build_ext(build_ext):
3333

3434
def initialize_options(self):
3535
build_ext.initialize_options(self)
36-
self.use_system_libuv = 0
36+
if getattr(self, 'use_system_libuv', None) is None:
37+
self.use_system_libuv = 0
3738

3839
def build_libuv(self):
3940
env = os.environ.copy()

0 commit comments

Comments
 (0)