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:
		
							parent
							
								
									de681bdb11
								
							
						
					
					
						commit
						39386de244
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -13529,9 +13529,9 @@ English stemmer.")
 | 
				
			||||||
         (replace 'check
 | 
					         (replace 'check
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (setenv "PYTHON" (or (which "python3") (which "python")))
 | 
					             (setenv "PYTHON" (or (which "python3") (which "python")))
 | 
				
			||||||
             (setenv "PYCONFIG" (string-append (or (which "python3-config")
 | 
					             (setenv "PYCONFIG" (if (which "python3-config")
 | 
				
			||||||
                                                   (which "python-config"))
 | 
					                                    "python3-config --embed"
 | 
				
			||||||
                                               " --embed"))
 | 
					                                    "python-config"))
 | 
				
			||||||
             (setenv "CC" "gcc")
 | 
					             (setenv "CC" "gcc")
 | 
				
			||||||
             ;; No need to extend PYTHONPATH to find the built package, since
 | 
					             ;; No need to extend PYTHONPATH to find the built package, since
 | 
				
			||||||
             ;; the Makefile will build anyway
 | 
					             ;; the Makefile will build anyway
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue