diff options
author | 宋文武 <iyzsong@gmail.com> | 2015-10-18 09:30:21 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2015-10-18 09:31:55 +0800 |
commit | 7765bfc61f60e2aa3cbbb37b02bb66231667760a (patch) | |
tree | 03f6227f02138d862ec81777985454b2506ca52c | |
parent | 6717c87964a7b210c34c122ce9dcef54ad7119cf (diff) | |
download | guix-7765bfc61f60e2aa3cbbb37b02bb66231667760a.tar guix-7765bfc61f60e2aa3cbbb37b02bb66231667760a.tar.gz |
gnu: elogind: Fix build by explicitly link with librt.
* gnu/packages/freedesktop.scm (elogind)[arguments]: Pass
'LDFLAGS=-lrt' to configure.
-rw-r--r-- | gnu/packages/freedesktop.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index c085fe5770..b3503e694c 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -156,7 +156,10 @@ the freedesktop.org XDG Base Directory specification.") (assoc-ref %build-inputs "libcap")) (string-append "--with-udevrulesdir=" (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"))) (native-inputs `(("intltool" ,intltool) |