mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue