guix-commits
[Top][All Lists]
Advanced

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

24/295: gnu: python-setproctitle: Fix build.


From: guix-commits
Subject: 24/295: gnu: python-setproctitle: Fix build.
Date: Mon, 27 Jul 2020 06:25:07 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit 3f68322e5a0073ffe1209dee430f30168cda2b96
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Jun 27 00:11:35 2020 +0200

    gnu: python-setproctitle: Fix build.
    
    * gnu/packages/python-xyz.scm (python-setproctitle)[arguments]:
    Add ‘--embed’ to $PYCONFIG.
---
 gnu/packages/python-xyz.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 463bfbf..a526fc2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13149,8 +13149,9 @@ English stemmer.")
         (replace 'check
            (lambda _
              (setenv "PYTHON" (or (which "python3") (which "python")))
-             (setenv "PYCONFIG" (or (which "python3-config")
-                                    (which "python-config")))
+             (setenv "PYCONFIG" (string-append (or (which "python3-config")
+                                                   (which "python-config"))
+                                               " --embed"))
              (setenv "CC" "gcc")
              ;; No need to extend PYTHONPATH to find the built package, since
              ;; the Makefile will build anyway



reply via email to

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