gnu: python-setproctitle: Fix build.
authorTobias Geerinckx-Rice <me@tobias.gr>
Fri, 26 Jun 2020 22:11:35 +0000 (00:11 +0200)
committerTobias Geerinckx-Rice <me@tobias.gr>
Sat, 27 Jun 2020 21:28:06 +0000 (23:28 +0200)
* gnu/packages/python-xyz.scm (python-setproctitle)[arguments]:
Add ‘--embed’ to $PYCONFIG.

gnu/packages/python-xyz.scm

index 463bfbf..a526fc2 100644 (file)
@@ -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