gnu: python: Fix cross-compilation.
This is a follow-up of 89da127035
.
* gnu/packages/patches/python-3-search-paths.patch: Use CROSS_C_INCLUDE_PATH
instead of CROSS_CPATH.
This commit is contained in:
parent
1926db54a6
commit
bda4b5e045
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user