gnu: e2fsprogs: Install libext2fs.
* gnu/packages/linux.scm (e2fsprogs)[source]: Add 'snippet'. [arguments]: Add --enable-elf-shlibs to #:configure-flags. Add #:make-flags.
This commit is contained in:
parent
524f4becff
commit
7c594a2c2f
|
@ -511,7 +511,12 @@ slabtop, and skill.")
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ibkkvp6kan0hn0d1anq4n2md70j5gcm7mwna515w82xwyr02rfw"))))
|
"0ibkkvp6kan0hn0d1anq4n2md70j5gcm7mwna515w82xwyr02rfw"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(substitute* "MCONFIG.in"
|
||||||
|
(("INSTALL_SYMLINK = /bin/sh")
|
||||||
|
"INSTALL_SYMLINK = sh")))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs `(("util-linux" ,util-linux)))
|
(inputs `(("util-linux" ,util-linux)))
|
||||||
(native-inputs `(("pkg-config" ,pkg-config)
|
(native-inputs `(("pkg-config" ,pkg-config)
|
||||||
|
@ -520,7 +525,14 @@ slabtop, and skill.")
|
||||||
'(;; The 'blkid' command and library are already provided by util-linux,
|
'(;; The 'blkid' command and library are already provided by util-linux,
|
||||||
;; which is the preferred source for them (see, e.g.,
|
;; which is the preferred source for them (see, e.g.,
|
||||||
;; <http://git.buildroot.net/buildroot/commit/?id=e1ffc2f791b336339909c90559b7db40b455f172>.)
|
;; <http://git.buildroot.net/buildroot/commit/?id=e1ffc2f791b336339909c90559b7db40b455f172>.)
|
||||||
#:configure-flags '("--disable-blkid")
|
#:configure-flags '("--disable-blkid"
|
||||||
|
|
||||||
|
;; Install libext2fs et al.
|
||||||
|
"--enable-elf-shlibs")
|
||||||
|
|
||||||
|
#:make-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
||||||
|
(assoc-ref %outputs "out")
|
||||||
|
"/lib"))
|
||||||
|
|
||||||
#:phases (alist-cons-before
|
#:phases (alist-cons-before
|
||||||
'configure 'patch-shells
|
'configure 'patch-shells
|
||||||
|
|
Loading…
Reference in New Issue