me
/
guix
Archived
1
0
Fork 0

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.
master
Mathieu Othacehe 2020-03-10 14:16:27 +01:00
parent 1926db54a6
commit bda4b5e045
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 1 additions and 1 deletions

View File

@ -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))