gnu: python-setproctitle: Fix build.

* gnu/packages/python-xyz.scm (python-setproctitle)[arguments]:
Add ‘--embed’ to $PYCONFIG.
This commit is contained in:
Tobias Geerinckx-Rice 2020-06-27 00:11:35 +02:00
parent bc36937431
commit 3f68322e5a
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -13149,8 +13149,9 @@ (define-public python-setproctitle
(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