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
1 changed files with 6 additions and 4 deletions

View File

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