diff options
author | Martin Pitt <martinpitt@gnome.org> | 2013-03-22 06:46:32 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-03-22 08:32:52 +0100 |
commit | 7da35cf0e26451f0186af387e6466cce99c2cd6b (patch) | |
tree | a7f4b854d87ab749921be4a0fd6c1a8e93c90173 | |
parent | d6b86f8b9fde1e2aa39353c36e413540649067b6 (diff) | |
download | rsyslog-7da35cf0e26451f0186af387e6466cce99c2cd6b.tar.gz rsyslog-7da35cf0e26451f0186af387e6466cce99c2cd6b.tar.bz2 rsyslog-7da35cf0e26451f0186af387e6466cce99c2cd6b.zip |
Fix linking for recent sd-daemon.c update
The recent update of sd-daemon.c introduced the usage of mq_getattr(), which is
shipped in -lrt (but clock_gettime isn't any more in glibc 2.17).
Also check for mq_getattr() in the rt library to fix linking with glibc 2.17.
http://bugzilla.adiscon.com/show_bug.cgi?id=428
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index eabd2272..52e6fbc2 100644 --- a/configure.ac +++ b/configure.ac @@ -65,6 +65,8 @@ save_LIBS=$LIBS LIBS= AC_SEARCH_LIBS(clock_gettime, rt) RT_LIBS=$LIBS +AC_SEARCH_LIBS(mq_getattr, rt) +RT_LIBS="$RT_LIBS $LIBS" LIBS= AC_SEARCH_LIBS(dlopen, dl) DL_LIBS=$LIBS |