diff options
author | Mathieu Othacehe <m.othacehe@gmail.com> | 2020-03-10 14:16:27 +0100 |
---|---|---|
committer | Mathieu Othacehe <m.othacehe@gmail.com> | 2020-03-10 14:16:27 +0100 |
commit | bda4b5e0453e4c8feda24306b4aa76ad5406eb7d (patch) | |
tree | c329ed45f3e95086a5acd11e8224cef5e2c25100 | |
parent | 1926db54a6a31f6676ba5db3668287ce7d709c8b (diff) | |
download | guix-bda4b5e0453e4c8feda24306b4aa76ad5406eb7d.tar.gz |
gnu: python: Fix cross-compilation.
This is a follow-up of 89da127035737bdf922bc566970c5506c2e01b00. * gnu/packages/patches/python-3-search-paths.patch: Use CROSS_C_INCLUDE_PATH instead of CROSS_CPATH.
-rw-r--r-- | gnu/packages/patches/python-3-search-paths.patch | 2 |
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)) |