From 3f68322e5a0073ffe1209dee430f30168cda2b96 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 27 Jun 2020 00:11:35 +0200 Subject: gnu: python-setproctitle: Fix build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 463bfbf3bd..a526fc29b5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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 -- cgit v1.2.3