mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 03:20:41 +01:00
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
This commit is contained in:
parent
d6b86f8b9f
commit
7da35cf0e2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user