link -lrt on linux for glibc < 2.17 compatibility

ok beck@
This commit is contained in:
Brent Cook 2014-07-11 07:26:09 -05:00
parent 465e8fc6c0
commit 1e71b73215

View File

@ -16,6 +16,7 @@ case $target_os in
*linux*)
TARGET_OS=linux;
CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
AC_SUBST([PLATFORM_LDADD], ['-lrt'])
;;
*solaris*)
TARGET_OS=solaris;