[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: python-setproctitle: Fix build.
From: |
guix-commits |
Subject: |
01/03: gnu: python-setproctitle: Fix build. |
Date: |
Sat, 27 Jun 2020 17:36:57 -0400 (EDT) |
nckx pushed a commit to branch master
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