gnu: lvm2: Add device-mapper-event support.

* GNU/packages/linux.scm (lvm2)[configure-flags]: Build device-mapper-event.
master
Pierre Neidhardt 2018-05-30 13:17:53 +02:00
parent c229fb3d88
commit a3ed69b694
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 13 additions and 1 deletions

View File

@ -2127,12 +2127,24 @@ time.")
"--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))