- Issue #17086: Search the include and library directories provided by the
compiler.
diff --git a/Misc/NEWS b/Misc/NEWS
index b6f15f3..76718be 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -11,6 +11,9 @@
- Issue #17682: Add the _io module to Modules/Setup.dist (commented out).
+- Issue #17086: Search the include and library directories provided by the
+ compiler.
+
Core and Builtins
-----------------
diff --git a/setup.py b/setup.py
index ea8a5f5..716f08e 100644
--- a/setup.py
+++ b/setup.py
@@ -439,6 +439,7 @@
# Ensure that /usr/local is always used
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
+ self.add_gcc_paths()
self.add_multiarch_paths()
# Add paths specified in the environment variables LDFLAGS and