Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d783261

Browse files
committed
Just to be sure, initialize with a copy of the compiler's lib and inc dirs.
1 parent f19529c commit d783261

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,8 +507,8 @@ def detect_modules(self):
507507
]
508508
inc_dirs = self.compiler.include_dirs + ['/usr/include']
509509
else:
510-
lib_dirs = []
511-
inc_dirs = []
510+
lib_dirs = self.compiler.library_dirs[:]
511+
inc_dirs = self.compiler.include_dirs[:]
512512
exts = []
513513
missing = []
514514

0 commit comments

Comments
 (0)