From b4a6f50f2afdbd1b3762bb518f680aa88d44c517 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 1 Apr 2015 16:53:42 +0100 Subject: freedreno: link against CLOCK_LIB Required by clock_gettime() Cc: Rob Clark Signed-off-by: Emil Velikov --- freedreno/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/freedreno/Makefile.am b/freedreno/Makefile.am index 07208675..9b7ec7df 100644 --- a/freedreno/Makefile.am +++ b/freedreno/Makefile.am @@ -10,7 +10,10 @@ AM_CFLAGS = \ libdrm_freedreno_la_LTLIBRARIES = libdrm_freedreno.la libdrm_freedreno_ladir = $(libdir) libdrm_freedreno_la_LDFLAGS = -version-number 1:0:0 -no-undefined -libdrm_freedreno_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@ +libdrm_freedreno_la_LIBADD = \ + ../libdrm.la \ + @PTHREADSTUBS_LIBS@ \ + @CLOCK_LIB@ libdrm_freedreno_la_SOURCES = $(LIBDRM_FREEDRENO_FILES) if HAVE_FREEDRENO_KGSL -- cgit v1.2.3