diff --git a/setup.py b/setup.py index 99ef3eda6c835e..e4f15d80b861b3 100644 --- a/setup.py +++ b/setup.py @@ -924,7 +924,7 @@ def init_inc_lib_dirs(self): if HOST_PLATFORM == 'hp-ux11': self.lib_dirs += ['/usr/lib/hpux64', '/usr/lib/hpux32'] - if MACOS: + if MACOS or MS_WINDOWS: # This should work on any unixy platform ;-) # If the user has bothered specifying additional -I and -L flags # in OPT and LDFLAGS we might as well use them here.