diff options
author | Jonathan Gray <jsg@jsg.id.au> | 2013-06-19 11:30:24 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-19 11:30:24 +0100 |
commit | 6132400365f8f467d838ed26002e74412e1c7298 (patch) | |
tree | b207b8728eb4e4722e26592bef0241940f00a8f7 /test | |
parent | f567f19b37d00131cda749e31c6d2dc8b52a1d62 (diff) |
configure: test for librt (clock_gettime)
clock_gettime() is in libc not librt on OpenBSD so check
to see if linking librt is required.
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index c3610f2a..f51967bd 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -25,7 +25,7 @@ check_PROGRAMS = $(stress_TESTS) noinst_PROGRAMS = lowlevel-blt-bench AM_CFLAGS = @CWARNFLAGS@ @X11_CFLAGS@ @DRM_CFLAGS@ -LDADD = libtest.la @X11_LIBS@ -lXfixes @DRM_LIBS@ -lrt +LDADD = libtest.la @X11_LIBS@ -lXfixes @DRM_LIBS@ @CLOCK_GETTIME_LIBS@ noinst_LTLIBRARIES = libtest.la libtest_la_SOURCES = \ |