summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/patches/python-3-search-paths.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/patches/python-3-search-paths.patch b/gnu/packages/patches/python-3-search-paths.patch
index 612201d1f2..df01d3b933 100644
--- a/gnu/packages/patches/python-3-search-paths.patch
+++ b/gnu/packages/patches/python-3-search-paths.patch
@@ -19,7 +19,7 @@ looking for headers and libraries.
 +            self.lib_dirs = (os.getenv('CROSS_LIBRARY_PATH', '').split(os.pathsep) +
                               sysroot_paths(('LDFLAGS', 'CC'), system_lib_dirs))
 -            self.inc_dirs = (self.compiler.include_dirs +
-+            self.inc_dirs = (os.getenv('CROSS_CPATH', '').split(os.pathsep) +
++            self.inc_dirs = (os.getenv('CROSS_C_INCLUDE_PATH', '').split(os.pathsep) +
                               sysroot_paths(('CPPFLAGS', 'CFLAGS', 'CC'),
                                             system_include_dirs))