gnu: python2-setproctitle: Fix build.

* gnu/packages/python-xyz.scm (python2-setproctitle): Don't pass ‘--embed’
to python-config.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
This commit is contained in:
Michael Rohleder 2020-07-30 09:32:18 +02:00 committed by Tobias Geerinckx-Rice
parent de681bdb11
commit 39386de244
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 3 deletions

View File

@ -13529,9 +13529,9 @@ English stemmer.")
(replace 'check
(lambda _
(setenv "PYTHON" (or (which "python3") (which "python")))
(setenv "PYCONFIG" (string-append (or (which "python3-config")
(which "python-config"))
" --embed"))
(setenv "PYCONFIG" (if (which "python3-config")
"python3-config --embed"
"python-config"))
(setenv "CC" "gcc")
;; No need to extend PYTHONPATH to find the built package, since
;; the Makefile will build anyway