mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 07:27:48 -05:00
gnu: libselinux: Fix build failure with Python 3.10.
* gnu/packages/selinux.scm (libselinux)[arguments]: Add extra arguments to the setup.py install invocation.
This commit is contained in:
parent
a91cf65a7e
commit
a334b3461d
1 changed files with 5 additions and 1 deletions
|
@ -161,7 +161,11 @@ (define-public libselinux
|
||||||
;; 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.
|
||||||
|
|
Loading…
Reference in a new issue