guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates updated: gnu: python: Fix cross-compilation.


From: guix-commits
Subject: branch core-updates updated: gnu: python: Fix cross-compilation.
Date: Tue, 10 Mar 2020 09:19:25 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new bda4b5e  gnu: python: Fix cross-compilation.
bda4b5e is described below

commit bda4b5e0453e4c8feda24306b4aa76ad5406eb7d
Author: Mathieu Othacehe <address@hidden>
AuthorDate: Tue Mar 10 14:16:27 2020 +0100

    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.
---
 gnu/packages/patches/python-3-search-paths.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/patches/python-3-search-paths.patch 
b/gnu/packages/patches/python-3-search-paths.patch
index 612201d..df01d3b 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))
  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]