summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-06-19 11:30:24 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-06-19 11:30:24 +0100
commit6132400365f8f467d838ed26002e74412e1c7298 (patch)
treeb207b8728eb4e4722e26592bef0241940f00a8f7 /src/Makefile.am
parentf567f19b37d00131cda749e31c6d2dc8b52a1d62 (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 'src/Makefile.am')
-rw-r--r--src/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index feed4cec..80837568 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -95,6 +95,7 @@ intel_drv_la_SOURCES += \
$(NULL)
intel_drv_la_LIBADD += \
$(DRI_LIBS) \
+ @CLOCK_GETTIME_LIBS@ \
$(NULL)
endif