[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: elogind: Fix build by explicitly link with librt.
From: |
??? |
Subject: |
01/01: gnu: elogind: Fix build by explicitly link with librt. |
Date: |
Sun, 18 Oct 2015 01:32:50 +0000 |
iyzsong pushed a commit to branch dbus-update
in repository guix.
commit 7765bfc61f60e2aa3cbbb37b02bb66231667760a
Author: 宋文武 <address@hidden>
Date: Sun Oct 18 09:30:21 2015 +0800
gnu: elogind: Fix build by explicitly link with librt.
* gnu/packages/freedesktop.scm (elogind)[arguments]: Pass
'LDFLAGS=-lrt' to configure.
---
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 c085fe5..b3503e6 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)