Linux Hotplug development
 help / color / mirror / Atom feed
* [PATCH] make: link udevd with -lrt
@ 2012-02-01 20:22 Natanael Copa
  2012-02-12 21:10 ` Kay Sievers
  2012-02-14  8:45 ` Natanael Copa
  0 siblings, 2 replies; 3+ messages in thread
From: Natanael Copa @ 2012-02-01 20:22 UTC (permalink / raw)
  To: linux-hotplug

sd-daemon.c uses mq_getattr() and should link with -lrt as the
man mq_getattr(3) states.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
---
 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e88a243..d5af409 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -249,7 +249,7 @@ src_udevd_SOURCES = \
 	src/sd-daemon.h \
 	src/sd-daemon.c
 src_udevd_CFLAGS = $(udev_common_CFLAGS)
-src_udevd_LDADD = $(udev_common_LDADD)
+src_udevd_LDADD = $(udev_common_LDADD) -lrt
 src_udevd_CPPFLAGS = $(udev_common_CPPFLAGS)
 
 src_udevadm_SOURCES = \
-- 
1.7.9


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-14  8:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-01 20:22 [PATCH] make: link udevd with -lrt Natanael Copa
2012-02-12 21:10 ` Kay Sievers
2012-02-14  8:45 ` Natanael Copa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox