mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: lvm2: Add device-mapper-event support.
* GNU/packages/linux.scm (lvm2)[configure-flags]: Build device-mapper-event.
This commit is contained in:
parent
c229fb3d88
commit
a3ed69b694
1 changed files with 13 additions and 1 deletions
|
@ -2127,12 +2127,24 @@ (define-public lvm2
|
|||
"--enable-udev_sync"
|
||||
"--enable-udev_rules"
|
||||
"--enable-pkgconfig"
|
||||
"--enable-cmdlib"
|
||||
"--enable-dmeventd" ; Requires '--enable-cmdlib'.
|
||||
|
||||
;; Make sure programs such as 'dmsetup' can
|
||||
;; find libdevmapper.so.
|
||||
(string-append "LDFLAGS=-Wl,-rpath="
|
||||
(assoc-ref %outputs "out")
|
||||
"/lib"))
|
||||
"/lib,-rpath="
|
||||
(assoc-ref %outputs "out")
|
||||
"/lib/device-mapper")
|
||||
;; TODO: Patch make.tmpl.in to take LDFLAGS
|
||||
;; into account so that we don't need to also
|
||||
;; set CLDFLAGS.
|
||||
(string-append "CLDFLAGS=-Wl,-rpath="
|
||||
(assoc-ref %outputs "out")
|
||||
"/lib,-rpath="
|
||||
(assoc-ref %outputs "out")
|
||||
"/lib/device-mapper"))
|
||||
|
||||
;; The tests use 'mknod', which requires root access.
|
||||
#:tests? #f))
|
||||
|
|
Loading…
Reference in a new issue