gnu: elogind: Fix build by explicitly link with librt.
* gnu/packages/freedesktop.scm (elogind)[arguments]: Pass 'LDFLAGS=-lrt' to configure.
This commit is contained in:
parent
6717c87964
commit
7765bfc61f
|
@ -156,7 +156,10 @@ the freedesktop.org XDG Base Directory specification.")
|
||||||
(assoc-ref %build-inputs "libcap"))
|
(assoc-ref %build-inputs "libcap"))
|
||||||
(string-append "--with-udevrulesdir="
|
(string-append "--with-udevrulesdir="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/lib/udev/rules.d"))
|
"/lib/udev/rules.d")
|
||||||
|
;; XXX: fail with:
|
||||||
|
;; src/shared/clean-ipc.c:315: undefined reference to `mq_unlink'
|
||||||
|
"LDFLAGS=-lrt")
|
||||||
#:make-flags '("PKTTYAGENT=/run/current-system/profile/bin/pkttyagent")))
|
#:make-flags '("PKTTYAGENT=/run/current-system/profile/bin/pkttyagent")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("intltool" ,intltool)
|
`(("intltool" ,intltool)
|
||||||
|
|
Loading…
Reference in New Issue