link -lrt on linux for glibc < 2.17 compatibility
ok beck@
This commit is contained in:
parent
465e8fc6c0
commit
1e71b73215
@ -16,6 +16,7 @@ case $target_os in
|
|||||||
*linux*)
|
*linux*)
|
||||||
TARGET_OS=linux;
|
TARGET_OS=linux;
|
||||||
CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
|
CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
|
||||||
|
AC_SUBST([PLATFORM_LDADD], ['-lrt'])
|
||||||
;;
|
;;
|
||||||
*solaris*)
|
*solaris*)
|
||||||
TARGET_OS=solaris;
|
TARGET_OS=solaris;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user