Linux Hotplug development
 help / color / mirror / Atom feed
From: Natanael Copa <ncopa@alpinelinux.org>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] make: link udevd with -lrt
Date: Wed, 01 Feb 2012 20:22:01 +0000	[thread overview]
Message-ID: <1328127721-18825-1-git-send-email-ncopa@alpinelinux.org> (raw)

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


             reply	other threads:[~2012-02-01 20:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01 20:22 Natanael Copa [this message]
2012-02-12 21:10 ` [PATCH] make: link udevd with -lrt Kay Sievers
2012-02-14  8:45 ` Natanael Copa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1328127721-18825-1-git-send-email-ncopa@alpinelinux.org \
    --to=ncopa@alpinelinux.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox