gnu: libselinux: Fix build failure with Python 3.10.
* gnu/packages/selinux.scm (libselinux)[arguments]: Add extra arguments to the setup.py install invocation.master
parent
a91cf65a7e
commit
a334b3461d
|
@ -161,7 +161,11 @@ module into a binary representation.")
|
||||||
;; Python bindings. Instruct it to use the correct output.
|
;; Python bindings. Instruct it to use the correct output.
|
||||||
(substitute* "src/Makefile"
|
(substitute* "src/Makefile"
|
||||||
(("--prefix=\\$\\(PREFIX\\)")
|
(("--prefix=\\$\\(PREFIX\\)")
|
||||||
(string-append "--prefix=" #$output:python)))
|
(string-append "--prefix=" #$output:python
|
||||||
|
;; Python 3.10 refuses to execute the install
|
||||||
|
;; command unless these flags are present.
|
||||||
|
" --single-version-externally-managed"
|
||||||
|
" --root=/")))
|
||||||
|
|
||||||
(apply invoke "make" "install-pywrap" make-flags)))))))
|
(apply invoke "make" "install-pywrap" make-flags)))))))
|
||||||
;; These libraries are in "Requires.private" in libselinux.pc.
|
;; These libraries are in "Requires.private" in libselinux.pc.
|
||||||
|
|
Reference in New Issue