aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-07-11 07:26:09 -0500
committerBrent Cook <bcook@openbsd.org>2014-07-11 07:27:03 -0500
commit1e71b7321589b7912066940aa62100aa250c9515 (patch)
tree41c7d9972090d2245e0e17c15e0710523586eb15
parent465e8fc6c06e441f01055a9d45ae5888e2a29ac6 (diff)
downloadportable-1e71b7321589b7912066940aa62100aa250c9515.tar.gz
portable-1e71b7321589b7912066940aa62100aa250c9515.tar.bz2
portable-1e71b7321589b7912066940aa62100aa250c9515.zip
link -lrt on linux for glibc < 2.17 compatibility
ok beck@
Diffstat (limited to '')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2e00982..391e6e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,6 +16,7 @@ case $target_os in
16 *linux*) 16 *linux*)
17 TARGET_OS=linux; 17 TARGET_OS=linux;
18 CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE" 18 CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
19 AC_SUBST([PLATFORM_LDADD], ['-lrt'])
19 ;; 20 ;;
20 *solaris*) 21 *solaris*)
21 TARGET_OS=solaris; 22 TARGET_OS=solaris;