gnu: libselinux: Propagate libsepol and pcre.

Both libsepol and pcre required by libselinux.pc.

* gnu/packages/selinux.scm (libselinux)[inputs]: Move libsepol and pcre...
[propagated-inputs]: ...here.
This commit is contained in:
Kei Kebreau 2017-06-15 02:47:00 -04:00
parent 4dbef2397f
commit 9ffc1f0e95
No known key found for this signature in database
GPG key ID: E6A5EE3C19467A0D

View file

@ -157,11 +157,13 @@ (define-public libselinux
(add-after 'install 'install-pywrap
(lambda* (#:key make-flags #:allow-other-keys)
(zero? (apply system* "make" "install-pywrap" make-flags))))))))
(inputs
;; These libraries are in "Requires.private" in libselinux.pc.
(propagated-inputs
`(("libsepol" ,libsepol)
("pcre" ,pcre)
;; For pywrap phase
("python" ,python-wrapper)))
("pcre" ,pcre)))
;; For pywrap phase
(inputs
`(("python" ,python-wrapper)))
;; These inputs are only needed for the pywrap phase.
(native-inputs
`(("swig" ,swig)